home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-09-15 | 38.1 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 53 e1 04 2f 2f 3d 3d 3d |........|S..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 44 |========|==..// D|
|00000060| 65 61 74 68 4d 61 74 63 | 68 50 6c 75 73 2e 0d 0a |eathMatc|hPlus...|
|00000070| 2f 2f 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |//======|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|000000c0| 0a 63 6c 61 73 73 20 44 | 65 61 74 68 4d 61 74 63 |.class D|eathMatc|
|000000d0| 68 50 6c 75 73 20 65 78 | 74 65 6e 64 73 20 54 6f |hPlus ex|tends To|
|000000e0| 75 72 6e 61 6d 65 6e 74 | 47 61 6d 65 49 6e 66 6f |urnament|GameInfo|
|000000f0| 0d 0a 09 63 6f 6e 66 69 | 67 3b 0d 0a 0d 0a 2f 2f |...confi|g;....//|
|00000100| 20 53 6f 75 6e 64 73 0d | 0a 23 65 78 65 63 20 4f | Sounds.|.#exec O|
|00000110| 42 4a 20 4c 4f 41 44 20 | 46 49 4c 45 3d 2e 2e 5c |BJ LOAD |FILE=..\|
|00000120| 53 6f 75 6e 64 73 5c 41 | 6e 6e 6f 75 6e 63 65 72 |Sounds\A|nnouncer|
|00000130| 2e 75 61 78 0d 0a 0d 0a | 76 61 72 28 29 20 67 6c |.uax....|var() gl|
|00000140| 6f 62 61 6c 63 6f 6e 66 | 69 67 20 69 6e 74 20 20 |obalconf|ig int |
|00000150| 4d 69 6e 50 6c 61 79 65 | 72 73 3b 09 09 2f 2f 20 |MinPlaye|rs;..// |
|00000160| 62 6f 74 73 20 66 69 6c | 6c 20 69 6e 20 74 6f 20 |bots fil|l in to |
|00000170| 67 75 61 72 61 6e 74 65 | 65 20 74 68 69 73 20 6c |guarante|e this l|
|00000180| 65 76 65 6c 20 69 6e 20 | 6e 65 74 20 67 61 6d 65 |evel in |net game|
|00000190| 20 0d 0a 76 61 72 28 29 | 20 67 6c 6f 62 61 6c 63 | ..var()| globalc|
|000001a0| 6f 6e 66 69 67 20 66 6c | 6f 61 74 20 41 69 72 43 |onfig fl|oat AirC|
|000001b0| 6f 6e 74 72 6f 6c 3b 20 | 0d 0a 76 61 72 28 29 20 |ontrol; |..var() |
|000001c0| 63 6f 6e 66 69 67 20 69 | 6e 74 09 46 72 61 67 4c |config i|nt.FragL|
|000001d0| 69 6d 69 74 3b 20 0d 0a | 76 61 72 28 29 20 63 6f |imit; ..|var() co|
|000001e0| 6e 66 69 67 20 69 6e 74 | 09 54 69 6d 65 4c 69 6d |nfig int|.TimeLim|
|000001f0| 69 74 3b 20 2f 2f 20 74 | 69 6d 65 20 6c 69 6d 69 |it; // t|ime limi|
|00000200| 74 20 69 6e 20 6d 69 6e | 75 74 65 73 0d 0a 76 61 |t in min|utes..va|
|00000210| 72 28 29 20 67 6c 6f 62 | 61 6c 63 6f 6e 66 69 67 |r() glob|alconfig|
|00000220| 20 62 6f 6f 6c 20 62 43 | 68 61 6e 67 65 4c 65 76 | bool bC|hangeLev|
|00000230| 65 6c 73 3b 0d 0a 76 61 | 72 28 29 20 67 6c 6f 62 |els;..va|r() glob|
|00000240| 61 6c 63 6f 6e 66 69 67 | 20 62 6f 6f 6c 20 62 48 |alconfig| bool bH|
|00000250| 61 72 64 43 6f 72 65 4d | 6f 64 65 3b 0d 0a 76 61 |ardCoreM|ode;..va|
|00000260| 72 20 20 20 62 6f 6f 6c | 09 09 09 20 20 20 20 62 |r bool|... b|
|00000270| 43 68 61 6c 6c 65 6e 67 | 65 4d 6f 64 65 3b 0d 0a |Challeng|eMode;..|
|00000280| 76 61 72 28 29 20 67 6c | 6f 62 61 6c 63 6f 6e 66 |var() gl|obalconf|
|00000290| 69 67 20 62 6f 6f 6c 20 | 62 4d 65 67 61 53 70 65 |ig bool |bMegaSpe|
|000002a0| 65 64 3b 0d 0a 76 61 72 | 28 29 20 67 6c 6f 62 61 |ed;..var|() globa|
|000002b0| 6c 63 6f 6e 66 69 67 20 | 62 6f 6f 6c 09 62 41 6c |lconfig |bool.bAl|
|000002c0| 74 53 63 6f 72 69 6e 67 | 3b 0d 0a 76 61 72 28 29 |tScoring|;..var()|
|000002d0| 20 63 6f 6e 66 69 67 20 | 62 6f 6f 6c 09 62 4d 75 | config |bool.bMu|
|000002e0| 6c 74 69 57 65 61 70 6f | 6e 53 74 61 79 3b 0d 0a |ltiWeapo|nStay;..|
|000002f0| 0d 0a 76 61 72 09 09 62 | 6f 6f 6c 09 62 44 6f 6e |..var..b|ool.bDon|
|00000300| 74 52 65 73 74 61 72 74 | 3b 0d 0a 76 61 72 09 09 |tRestart|;..var..|
|00000310| 62 6f 6f 6c 09 62 41 6c | 72 65 61 64 79 43 68 61 |bool.bAl|readyCha|
|00000320| 6e 67 65 64 3b 0d 0a 76 | 61 72 09 09 62 6f 6f 6c |nged;..v|ar..bool|
|00000330| 09 62 46 69 72 73 74 42 | 6c 6f 6f 64 3b 0d 0a 0d |.bFirstB|lood;...|
|00000340| 0a 76 61 72 28 29 20 67 | 6c 6f 62 61 6c 63 6f 6e |.var() g|lobalcon|
|00000350| 66 69 67 20 62 6f 6f 6c | 20 62 54 6f 75 72 6e 61 |fig bool| bTourna|
|00000360| 6d 65 6e 74 3b 0d 0a 76 | 61 72 20 20 62 6f 6f 6c |ment;..v|ar bool|
|00000370| 20 62 52 65 71 75 69 72 | 65 52 65 61 64 79 3b 0d | bRequir|eReady;.|
|00000380| 0a 76 61 72 28 29 20 67 | 6c 6f 62 61 6c 63 6f 6e |.var() g|lobalcon|
|00000390| 66 69 67 20 62 6f 6f 6c | 20 62 4e 6f 76 69 63 65 |fig bool| bNovice|
|000003a0| 4d 6f 64 65 3b 0d 0a 76 | 61 72 28 29 20 67 6c 6f |Mode;..v|ar() glo|
|000003b0| 62 61 6c 63 6f 6e 66 69 | 67 20 62 6f 6f 6c 20 62 |balconfi|g bool b|
|000003c0| 4e 6f 4d 61 74 75 72 65 | 4c 61 6e 67 75 61 67 65 |NoMature|Language|
|000003d0| 3b 0d 0a 76 61 72 28 29 | 20 67 6c 6f 62 61 6c 63 |;..var()| globalc|
|000003e0| 6f 6e 66 69 67 20 69 6e | 74 20 4e 65 74 57 61 69 |onfig in|t NetWai|
|000003f0| 74 3b 20 2f 2f 20 74 69 | 6d 65 20 74 6f 20 77 61 |t; // ti|me to wa|
|00000400| 69 74 20 66 6f 72 20 70 | 6c 61 79 65 72 73 20 69 |it for p|layers i|
|00000410| 6e 20 6e 65 74 67 61 6d | 65 73 20 77 2f 20 62 4e |n netgam|es w/ bN|
|00000420| 65 74 52 65 61 64 79 20 | 28 74 79 70 69 63 61 6c |etReady |(typical|
|00000430| 6c 79 20 74 65 61 6d 20 | 67 61 6d 65 73 29 0d 0a |ly team |games)..|
|00000440| 76 61 72 20 63 6f 6e 66 | 69 67 20 62 6f 6f 6c 20 |var conf|ig bool |
|00000450| 62 55 73 65 54 72 61 6e | 73 6c 6f 63 61 74 6f 72 |bUseTran|slocator|
|00000460| 3b 0d 0a 76 61 72 20 62 | 6f 6f 6c 20 62 4a 75 6d |;..var b|ool bJum|
|00000470| 70 4d 61 74 63 68 3b 0d | 0a 76 61 72 20 62 6f 6f |pMatch;.|.var boo|
|00000480| 6c 20 62 54 68 72 65 65 | 50 6c 75 73 3b 0d 0a 76 |l bThree|Plus;..v|
|00000490| 61 72 20 62 6f 6f 6c 20 | 62 46 75 6c 66 69 6c 6c |ar bool |bFulfill|
|000004a0| 65 64 53 70 65 63 69 61 | 6c 3b 0d 0a 76 61 72 20 |edSpecia|l;..var |
|000004b0| 62 6f 6f 6c 09 62 4e 65 | 74 52 65 61 64 79 3b 0d |bool.bNe|tReady;.|
|000004c0| 0a 76 61 72 20 62 6f 6f | 6c 20 62 52 61 74 65 64 |.var boo|l bRated|
|000004d0| 54 72 61 6e 73 6c 6f 63 | 61 74 6f 72 3b 0d 0a 76 |Transloc|ator;..v|
|000004e0| 61 72 20 62 6f 6f 6c 20 | 62 53 74 61 72 74 4d 61 |ar bool |bStartMa|
|000004f0| 74 63 68 3b 0d 0a 0d 0a | 76 61 72 09 69 6e 74 20 |tch;....|var.int |
|00000500| 52 65 6d 61 69 6e 69 6e | 67 54 69 6d 65 2c 20 45 |Remainin|gTime, E|
|00000510| 6c 61 70 73 65 64 54 69 | 6d 65 3b 0d 0a 76 61 72 |lapsedTi|me;..var|
|00000520| 20 69 6e 74 20 43 6f 75 | 6e 74 44 6f 77 6e 2c 20 | int Cou|ntDown, |
|00000530| 53 74 61 72 74 43 6f 75 | 6e 74 3b 0d 0a 76 61 72 |StartCou|nt;..var|
|00000540| 20 6c 6f 63 61 6c 69 7a | 65 64 20 73 74 72 69 6e | localiz|ed strin|
|00000550| 67 20 53 74 61 72 74 55 | 70 4d 65 73 73 61 67 65 |g StartU|pMessage|
|00000560| 3b 0d 0a 76 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |;..var l|ocalized|
|00000570| 20 73 74 72 69 6e 67 20 | 54 6f 75 72 6e 65 79 4d | string |TourneyM|
|00000580| 65 73 73 61 67 65 3b 0d | 0a 76 61 72 20 6c 6f 63 |essage;.|.var loc|
|00000590| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 57 61 |alized s|tring Wa|
|000005a0| 69 74 69 6e 67 4d 65 73 | 73 61 67 65 31 3b 0d 0a |itingMes|sage1;..|
|000005b0| 76 61 72 20 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var loca|lized st|
|000005c0| 72 69 6e 67 20 57 61 69 | 74 69 6e 67 4d 65 73 73 |ring Wai|tingMess|
|000005d0| 61 67 65 32 3b 0d 0a 76 | 61 72 20 6c 6f 63 61 6c |age2;..v|ar local|
|000005e0| 69 7a 65 64 20 73 74 72 | 69 6e 67 20 52 65 61 64 |ized str|ing Read|
|000005f0| 79 4d 65 73 73 61 67 65 | 3b 0d 0a 76 61 72 20 6c |yMessage|;..var l|
|00000600| 6f 63 61 6c 69 7a 65 64 | 20 73 74 72 69 6e 67 20 |ocalized| string |
|00000610| 4e 6f 74 52 65 61 64 79 | 4d 65 73 73 61 67 65 3b |NotReady|Message;|
|00000620| 0d 0a 76 61 72 20 6c 6f | 63 61 6c 69 7a 65 64 20 |..var lo|calized |
|00000630| 73 74 72 69 6e 67 20 43 | 6f 75 6e 74 44 6f 77 6e |string C|ountDown|
|00000640| 4d 65 73 73 61 67 65 3b | 0d 0a 76 61 72 20 6c 6f |Message;|..var lo|
|00000650| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 53 |calized |string S|
|00000660| 74 61 72 74 4d 65 73 73 | 61 67 65 3b 0d 0a 76 61 |tartMess|age;..va|
|00000670| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000680| 6e 67 20 47 61 6d 65 45 | 6e 64 65 64 4d 65 73 73 |ng GameE|ndedMess|
|00000690| 61 67 65 3b 0d 0a 76 61 | 72 20 6c 6f 63 61 6c 69 |age;..va|r locali|
|000006a0| 7a 65 64 20 73 74 72 69 | 6e 67 20 53 69 6e 67 6c |zed stri|ng Singl|
|000006b0| 65 57 61 69 74 69 6e 67 | 4d 65 73 73 61 67 65 3b |eWaiting|Message;|
|000006c0| 0d 0a 76 61 72 20 6c 6f | 63 61 6c 69 7a 65 64 20 |..var lo|calized |
|000006d0| 73 74 72 69 6e 67 20 67 | 61 6d 65 67 6f 61 6c 3b |string g|amegoal;|
|000006e0| 0d 0a 0d 0a 76 61 72 20 | 66 6c 6f 61 74 20 4c 61 |....var |float La|
|000006f0| 73 74 54 61 75 6e 74 54 | 69 6d 65 3b 0d 0a 76 61 |stTauntT|ime;..va|
|00000700| 72 20 4e 61 76 69 67 61 | 74 69 6f 6e 50 6f 69 6e |r Naviga|tionPoin|
|00000710| 74 20 4c 61 73 74 53 74 | 61 72 74 53 70 6f 74 3b |t LastSt|artSpot;|
|00000720| 0d 0a 76 61 72 28 29 20 | 63 6f 6e 66 69 67 20 69 |..var() |config i|
|00000730| 6e 74 09 4d 61 78 43 6f | 6d 6d 61 6e 64 65 72 73 |nt.MaxCo|mmanders|
|00000740| 3b 0d 0a 76 61 72 20 69 | 6e 74 20 20 20 4e 75 6d |;..var i|nt Num|
|00000750| 43 6f 6d 6d 61 6e 64 65 | 72 73 3b 0d 0a 0d 0a 76 |Commande|rs;....v|
|00000760| 61 72 20 62 6f 6f 6c 20 | 62 54 75 74 6f 72 69 61 |ar bool |bTutoria|
|00000770| 6c 47 61 6d 65 3b 0d 0a | 0d 0a 2f 2f 20 42 6f 74 |lGame;..|..// Bot|
|00000780| 20 72 65 6c 61 74 65 64 | 20 69 6e 66 6f 0d 0a 76 | related| info..v|
|00000790| 61 72 20 20 20 69 6e 74 | 09 09 09 09 4e 75 6d 42 |ar int|....NumB|
|000007a0| 6f 74 73 3b 0d 0a 76 61 | 72 09 20 20 69 6e 74 09 |ots;..va|r. int.|
|000007b0| 09 09 09 52 65 6d 61 69 | 6e 69 6e 67 42 6f 74 73 |...Remai|ningBots|
|000007c0| 3b 0d 0a 76 61 72 09 20 | 20 69 6e 74 09 09 09 09 |;..var. | int....|
|000007d0| 4c 61 73 74 54 61 75 6e | 74 5b 34 5d 3b 0d 0a 76 |LastTaun|t[4];..v|
|000007e0| 61 72 28 29 20 67 6c 6f | 62 61 6c 63 6f 6e 66 69 |ar() glo|balconfi|
|000007f0| 67 20 69 6e 74 09 49 6e | 69 74 69 61 6c 42 6f 74 |g int.In|itialBot|
|00000800| 73 3b 0d 0a 76 61 72 09 | 43 68 61 6c 6c 65 6e 67 |s;..var.|Challeng|
|00000810| 65 42 6f 74 49 6e 66 6f | 09 42 6f 74 43 6f 6e 66 |eBotInfo|.BotConf|
|00000820| 69 67 3b 0d 0a 76 61 72 | 20 6c 6f 63 61 6c 69 7a |ig;..var| localiz|
|00000830| 65 64 20 73 74 72 69 6e | 67 09 4e 6f 4e 61 6d 65 |ed strin|g.NoName|
|00000840| 43 68 61 6e 67 65 2c 20 | 4f 76 65 72 74 69 6d 65 |Change, |Overtime|
|00000850| 4d 65 73 73 61 67 65 3b | 0d 0a 76 61 72 20 63 6c |Message;|..var cl|
|00000860| 61 73 73 3c 43 68 61 6c | 6c 65 6e 67 65 42 6f 74 |ass<Chal|lengeBot|
|00000870| 49 6e 66 6f 3e 09 09 42 | 6f 74 43 6f 6e 66 69 67 |Info>..B|otConfig|
|00000880| 54 79 70 65 3b 0d 0a 0d | 0a 2f 2f 20 50 6c 61 79 |Type;...|.// Play|
|00000890| 65 72 20 72 61 74 69 6e | 67 20 76 61 72 69 61 62 |er ratin|g variab|
|000008a0| 6c 65 73 20 66 6f 72 20 | 73 69 6e 67 6c 65 20 70 |les for |single p|
|000008b0| 6c 61 79 65 72 20 72 61 | 74 65 64 20 67 61 6d 65 |layer ra|ted game|
|000008c0| 73 0d 0a 76 61 72 20 66 | 6c 6f 61 74 20 50 6c 61 |s..var f|loat Pla|
|000008d0| 79 65 72 52 61 74 69 6e | 67 2c 20 41 76 67 4f 70 |yerRatin|g, AvgOp|
|000008e0| 70 6f 6e 65 6e 74 52 61 | 74 69 6e 67 3b 0d 0a 76 |ponentRa|ting;..v|
|000008f0| 61 72 20 69 6e 74 20 4e | 75 6d 4f 70 70 2c 20 57 |ar int N|umOpp, W|
|00000900| 69 6e 43 6f 75 6e 74 2c | 20 4c 6f 73 65 43 6f 75 |inCount,| LoseCou|
|00000910| 6e 74 3b 0d 0a 76 61 72 | 20 50 6c 61 79 65 72 50 |nt;..var| PlayerP|
|00000920| 61 77 6e 20 52 61 74 65 | 64 50 6c 61 79 65 72 3b |awn Rate|dPlayer;|
|00000930| 0d 0a 76 61 72 20 69 6e | 74 20 49 44 6e 75 6d 3b |..var in|t IDnum;|
|00000940| 0d 0a 76 61 72 20 52 61 | 74 65 64 4d 61 74 63 68 |..var Ra|tedMatch|
|00000950| 49 6e 66 6f 20 52 61 74 | 65 64 4d 61 74 63 68 43 |Info Rat|edMatchC|
|00000960| 6f 6e 66 69 67 3b 0d 0a | 76 61 72 20 66 6c 6f 61 |onfig;..|var floa|
|00000970| 74 20 45 6e 64 54 69 6d | 65 3b 0d 0a 76 61 72 20 |t EndTim|e;..var |
|00000980| 69 6e 74 20 4c 61 64 64 | 65 72 54 79 70 65 49 6e |int Ladd|erTypeIn|
|00000990| 64 65 78 3b 0d 0a 0d 0a | 76 61 72 20 4c 61 64 64 |dex;....|var Ladd|
|000009a0| 65 72 49 6e 76 65 6e 74 | 6f 72 79 20 52 61 74 65 |erInvent|ory Rate|
|000009b0| 64 47 61 6d 65 4c 61 64 | 64 65 72 4f 62 6a 3b 0d |dGameLad|derObj;.|
|000009c0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 50 6f 73 74 |...funct|ion Post|
|000009d0| 42 65 67 69 6e 50 6c 61 | 79 28 29 0d 0a 7b 0d 0a |BeginPla|y()..{..|
|000009e0| 09 6c 6f 63 61 6c 20 73 | 74 72 69 6e 67 20 4e 65 |.local s|tring Ne|
|000009f0| 78 74 50 6c 61 79 65 72 | 43 6c 61 73 73 3b 0d 0a |xtPlayer|Class;..|
|00000a00| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 69 3b 0d 0a 0d |.local i|nt i;...|
|00000a10| 0a 09 69 66 20 28 20 62 | 41 6c 74 65 72 6e 61 74 |..if ( b|Alternat|
|00000a20| 65 4d 6f 64 65 20 29 0d | 0a 09 7b 0d 0a 09 09 62 |eMode ).|..{....b|
|00000a30| 56 65 72 79 4c 6f 77 47 | 6f 72 65 20 3d 20 74 72 |VeryLowG|ore = tr|
|00000a40| 75 65 3b 0d 0a 09 09 62 | 4c 6f 77 47 6f 72 65 20 |ue;....b|LowGore |
|00000a50| 3d 20 74 72 75 65 3b 0d | 0a 09 7d 0d 0a 09 42 6f |= true;.|..}...Bo|
|00000a60| 74 43 6f 6e 66 69 67 20 | 3d 20 73 70 61 77 6e 28 |tConfig |= spawn(|
|00000a70| 42 6f 74 43 6f 6e 66 69 | 67 54 79 70 65 29 3b 0d |BotConfi|gType);.|
|00000a80| 0a 09 69 66 20 28 20 4c | 65 76 65 6c 2e 4e 65 74 |..if ( L|evel.Net|
|00000a90| 4d 6f 64 65 20 3d 3d 20 | 4e 4d 5f 53 74 61 6e 64 |Mode == |NM_Stand|
|00000aa0| 61 6c 6f 6e 65 20 29 0d | 0a 09 09 52 65 6d 61 69 |alone ).|...Remai|
|00000ab0| 6e 69 6e 67 42 6f 74 73 | 20 3d 20 49 6e 69 74 69 |ningBots| = Initi|
|00000ac0| 61 6c 42 6f 74 73 3b 0d | 0a 09 65 6c 73 65 0d 0a |alBots;.|..else..|
|00000ad0| 09 09 52 65 6d 61 69 6e | 69 6e 67 42 6f 74 73 20 |..Remain|ingBots |
|00000ae0| 3d 20 30 3b 0d 0a 09 53 | 75 70 65 72 2e 50 6f 73 |= 0;...S|uper.Pos|
|00000af0| 74 42 65 67 69 6e 50 6c | 61 79 28 29 3b 0d 0a 09 |tBeginPl|ay();...|
|00000b00| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|00000b10| 6e 66 6f 2e 52 65 6d 61 | 69 6e 69 6e 67 54 69 6d |nfo.Rema|iningTim|
|00000b20| 65 20 3d 20 52 65 6d 61 | 69 6e 69 6e 67 54 69 6d |e = Rema|iningTim|
|00000b30| 65 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |e;..}...|.functio|
|00000b40| 6e 20 50 72 65 43 61 63 | 68 65 52 65 66 65 72 65 |n PreCac|heRefere|
|00000b50| 6e 63 65 73 28 29 0d 0a | 7b 0d 0a 09 2f 2f 6e 65 |nces()..|{...//ne|
|00000b60| 76 65 72 20 63 61 6c 6c | 65 64 20 2d 20 68 65 72 |ver call|ed - her|
|00000b70| 65 20 74 6f 20 66 6f 72 | 63 65 20 70 72 65 63 61 |e to for|ce preca|
|00000b80| 63 68 69 6e 67 20 6f 66 | 20 6d 65 73 68 65 73 0d |ching of| meshes.|
|00000b90| 0a 09 73 70 61 77 6e 28 | 63 6c 61 73 73 27 54 4d |..spawn(|class'TM|
|00000ba0| 61 6c 65 32 27 29 3b 0d | 0a 09 73 70 61 77 6e 28 |ale2');.|..spawn(|
|00000bb0| 63 6c 61 73 73 27 49 6d | 70 61 63 74 48 61 6d 6d |class'Im|pactHamm|
|00000bc0| 65 72 27 29 3b 0d 0a 09 | 73 70 61 77 6e 28 63 6c |er');...|spawn(cl|
|00000bd0| 61 73 73 27 54 72 61 6e | 73 6c 6f 63 61 74 6f 72 |ass'Tran|slocator|
|00000be0| 27 29 3b 0d 0a 09 73 70 | 61 77 6e 28 63 6c 61 73 |');...sp|awn(clas|
|00000bf0| 73 27 45 6e 66 6f 72 63 | 65 72 27 29 3b 0d 0a 09 |s'Enforc|er');...|
|00000c00| 73 70 61 77 6e 28 63 6c | 61 73 73 27 53 68 6f 63 |spawn(cl|ass'Shoc|
|00000c10| 6b 52 69 66 6c 65 27 29 | 3b 0d 0a 09 73 70 61 77 |kRifle')|;...spaw|
|00000c20| 6e 28 63 6c 61 73 73 27 | 50 75 6c 73 65 47 75 6e |n(class'|PulseGun|
|00000c30| 27 29 3b 0d 0a 09 73 70 | 61 77 6e 28 63 6c 61 73 |');...sp|awn(clas|
|00000c40| 73 27 4d 69 6e 69 67 75 | 6e 32 27 29 3b 0d 0a 09 |s'Minigu|n2');...|
|00000c50| 73 70 61 77 6e 28 63 6c | 61 73 73 27 55 54 5f 45 |spawn(cl|ass'UT_E|
|00000c60| 69 67 68 74 62 61 6c 6c | 27 29 3b 0d 0a 7d 0d 0a |ightball|');..}..|
|00000c70| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 43 68 65 63 6b |..functi|on Check|
|00000c80| 52 65 61 64 79 28 29 0d | 0a 7b 0d 0a 09 69 66 20 |Ready().|.{...if |
|00000c90| 28 20 28 46 72 61 67 4c | 69 6d 69 74 20 3d 3d 20 |( (FragL|imit == |
|00000ca0| 30 29 20 26 26 20 28 54 | 69 6d 65 4c 69 6d 69 74 |0) && (T|imeLimit|
|00000cb0| 20 3d 3d 20 30 29 20 29 | 0d 0a 09 7b 0d 0a 09 09 | == 0) )|...{....|
|00000cc0| 54 69 6d 65 4c 69 6d 69 | 74 20 3d 20 32 30 3b 0d |TimeLimi|t = 20;.|
|00000cd0| 0a 09 09 52 65 6d 61 69 | 6e 69 6e 67 54 69 6d 65 |...Remai|ningTime|
|00000ce0| 20 3d 20 36 30 20 2a 20 | 54 69 6d 65 4c 69 6d 69 | = 60 * |TimeLimi|
|00000cf0| 74 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 2f 2f 0d |t;...}..|}....//.|
|00000d00| 0a 2f 2f 20 53 65 74 20 | 67 61 6d 65 70 6c 61 79 |.// Set |gameplay|
|00000d10| 20 73 70 65 65 64 2e 0d | 0a 2f 2f 0d 0a 66 75 6e | speed..|.//..fun|
|00000d20| 63 74 69 6f 6e 20 53 65 | 74 47 61 6d 65 53 70 65 |ction Se|tGameSpe|
|00000d30| 65 64 28 20 46 6c 6f 61 | 74 20 54 20 29 0d 0a 7b |ed( Floa|t T )..{|
|00000d40| 0d 0a 09 47 61 6d 65 53 | 70 65 65 64 20 3d 20 46 |...GameS|peed = F|
|00000d50| 4d 61 78 28 54 2c 20 30 | 2e 31 29 3b 0d 0a 09 69 |Max(T, 0|.1);...i|
|00000d60| 66 20 28 20 62 48 61 72 | 64 43 6f 72 65 4d 6f 64 |f ( bHar|dCoreMod|
|00000d70| 65 20 29 0d 0a 09 7b 0d | 0a 09 09 69 66 20 28 20 |e )...{.|...if ( |
|00000d80| 62 43 68 61 6c 6c 65 6e | 67 65 4d 6f 64 65 20 29 |bChallen|geMode )|
|00000d90| 0d 0a 09 09 09 4c 65 76 | 65 6c 2e 54 69 6d 65 44 |.....Lev|el.TimeD|
|00000da0| 69 6c 61 74 69 6f 6e 20 | 3d 20 31 2e 32 35 20 2a |ilation |= 1.25 *|
|00000db0| 20 47 61 6d 65 53 70 65 | 65 64 3b 0d 0a 09 09 65 | GameSpe|ed;....e|
|00000dc0| 6c 73 65 0d 0a 09 09 09 | 4c 65 76 65 6c 2e 54 69 |lse.....|Level.Ti|
|00000dd0| 6d 65 44 69 6c 61 74 69 | 6f 6e 20 3d 20 31 2e 31 |meDilati|on = 1.1|
|00000de0| 20 2a 20 47 61 6d 65 53 | 70 65 65 64 3b 0d 0a 09 | * GameS|peed;...|
|00000df0| 7d 0d 0a 09 65 6c 73 65 | 0d 0a 09 09 4c 65 76 65 |}...else|....Leve|
|00000e00| 6c 2e 54 69 6d 65 44 69 | 6c 61 74 69 6f 6e 20 3d |l.TimeDi|lation =|
|00000e10| 20 47 61 6d 65 53 70 65 | 65 64 3b 0d 0a 09 53 65 | GameSpe|ed;...Se|
|00000e20| 74 54 69 6d 65 72 28 4c | 65 76 65 6c 2e 54 69 6d |tTimer(L|evel.Tim|
|00000e30| 65 44 69 6c 61 74 69 6f | 6e 2c 20 74 72 75 65 29 |eDilatio|n, true)|
|00000e40| 3b 0d 0a 09 53 61 76 65 | 43 6f 6e 66 69 67 28 29 |;...Save|Config()|
|00000e50| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00000e60| 20 50 6c 61 79 54 65 6c | 65 70 6f 72 74 45 66 66 | PlayTel|eportEff|
|00000e70| 65 63 74 28 20 61 63 74 | 6f 72 20 49 6e 63 6f 6d |ect( act|or Incom|
|00000e80| 69 6e 67 2c 20 62 6f 6f | 6c 20 62 4f 75 74 2c 20 |ing, boo|l bOut, |
|00000e90| 62 6f 6f 6c 20 62 53 6f | 75 6e 64 29 0d 0a 7b 0d |bool bSo|und)..{.|
|00000ea0| 0a 20 09 6c 6f 63 61 6c | 20 55 54 54 65 6c 65 70 |. .local| UTTelep|
|00000eb0| 6f 72 74 45 66 66 65 63 | 74 20 50 54 45 3b 0d 0a |ortEffec|t PTE;..|
|00000ec0| 0d 0a 09 69 66 20 28 20 | 62 52 65 71 75 69 72 65 |...if ( |bRequire|
|00000ed0| 52 65 61 64 79 20 26 26 | 20 28 43 6f 75 6e 74 64 |Ready &&| (Countd|
|00000ee0| 6f 77 6e 20 3e 20 30 29 | 20 29 0d 0a 09 09 72 65 |own > 0)| )....re|
|00000ef0| 74 75 72 6e 3b 0d 0a 0d | 0a 09 69 66 20 28 20 49 |turn;...|..if ( I|
|00000f00| 6e 63 6f 6d 69 6e 67 2e | 62 49 73 50 61 77 6e 20 |ncoming.|bIsPawn |
|00000f10| 26 26 20 28 49 6e 63 6f | 6d 69 6e 67 2e 4d 65 73 |&& (Inco|ming.Mes|
|00000f20| 68 20 21 3d 20 4e 6f 6e | 65 29 20 29 0d 0a 09 7b |h != Non|e) )...{|
|00000f30| 0d 0a 09 09 69 66 20 28 | 20 62 53 6f 75 6e 64 20 |....if (| bSound |
|00000f40| 29 0d 0a 09 09 7b 0d 0a | 20 09 09 09 50 54 45 20 |)....{..| ...PTE |
|00000f50| 3d 20 53 70 61 77 6e 28 | 63 6c 61 73 73 27 55 54 |= Spawn(|class'UT|
|00000f60| 54 65 6c 65 70 6f 72 74 | 45 66 66 65 63 74 27 2c |Teleport|Effect',|
|00000f70| 2c 2c 20 49 6e 63 6f 6d | 69 6e 67 2e 4c 6f 63 61 |,, Incom|ing.Loca|
|00000f80| 74 69 6f 6e 2c 20 49 6e | 63 6f 6d 69 6e 67 2e 52 |tion, In|coming.R|
|00000f90| 6f 74 61 74 69 6f 6e 29 | 3b 0d 0a 20 09 09 09 50 |otation)|;.. ...P|
|00000fa0| 54 45 2e 49 6e 69 74 69 | 61 6c 69 7a 65 28 50 61 |TE.Initi|alize(Pa|
|00000fb0| 77 6e 28 49 6e 63 6f 6d | 69 6e 67 29 2c 20 62 4f |wn(Incom|ing), bO|
|00000fc0| 75 74 29 3b 0d 0a 09 09 | 09 49 6e 63 6f 6d 69 6e |ut);....|.Incomin|
|00000fd0| 67 2e 50 6c 61 79 53 6f | 75 6e 64 28 73 6f 75 6e |g.PlaySo|und(soun|
|00000fe0| 64 27 52 65 73 70 32 41 | 27 2c 2c 20 31 30 2e 30 |d'Resp2A|',, 10.0|
|00000ff0| 29 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 7d 0d 0a |);....}.|..}..}..|
|00001000| 0d 0a 2f 2f 20 50 61 72 | 73 65 20 6f 70 74 69 6f |..// Par|se optio|
|00001010| 6e 73 20 66 6f 72 20 74 | 68 69 73 20 67 61 6d 65 |ns for t|his game|
|00001020| 2e 2e 2e 0d 0a 65 76 65 | 6e 74 20 49 6e 69 74 47 |.....eve|nt InitG|
|00001030| 61 6d 65 28 20 73 74 72 | 69 6e 67 20 4f 70 74 69 |ame( str|ing Opti|
|00001040| 6f 6e 73 2c 20 6f 75 74 | 20 73 74 72 69 6e 67 20 |ons, out| string |
|00001050| 45 72 72 6f 72 20 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |Error ).|.{...loc|
|00001060| 61 6c 20 73 74 72 69 6e | 67 20 49 6e 4f 70 74 3b |al strin|g InOpt;|
|00001070| 0d 0a 0d 0a 09 53 75 70 | 65 72 2e 49 6e 69 74 47 |.....Sup|er.InitG|
|00001080| 61 6d 65 28 4f 70 74 69 | 6f 6e 73 2c 20 45 72 72 |ame(Opti|ons, Err|
|00001090| 6f 72 29 3b 0d 0a 0d 0a | 09 52 65 6d 61 69 6e 69 |or);....|.Remaini|
|000010a0| 6e 67 54 69 6d 65 20 3d | 20 36 30 20 2a 20 54 69 |ngTime =| 60 * Ti|
|000010b0| 6d 65 4c 69 6d 69 74 3b | 0d 0a 09 53 65 74 47 61 |meLimit;|...SetGa|
|000010c0| 6d 65 53 70 65 65 64 28 | 47 61 6d 65 53 70 65 65 |meSpeed(|GameSpee|
|000010d0| 64 29 3b 0d 0a 09 46 72 | 61 67 4c 69 6d 69 74 20 |d);...Fr|agLimit |
|000010e0| 3d 20 47 65 74 49 6e 74 | 4f 70 74 69 6f 6e 28 20 |= GetInt|Option( |
|000010f0| 4f 70 74 69 6f 6e 73 2c | 20 22 46 72 61 67 4c 69 |Options,| "FragLi|
|00001100| 6d 69 74 22 2c 20 46 72 | 61 67 4c 69 6d 69 74 20 |mit", Fr|agLimit |
|00001110| 29 3b 0d 0a 09 54 69 6d | 65 4c 69 6d 69 74 20 3d |);...Tim|eLimit =|
|00001120| 20 47 65 74 49 6e 74 4f | 70 74 69 6f 6e 28 20 4f | GetIntO|ption( O|
|00001130| 70 74 69 6f 6e 73 2c 20 | 22 54 69 6d 65 4c 69 6d |ptions, |"TimeLim|
|00001140| 69 74 22 2c 20 54 69 6d | 65 4c 69 6d 69 74 20 29 |it", Tim|eLimit )|
|00001150| 3b 0d 0a 09 4d 61 78 43 | 6f 6d 6d 61 6e 64 65 72 |;...MaxC|ommander|
|00001160| 73 20 3d 20 47 65 74 49 | 6e 74 4f 70 74 69 6f 6e |s = GetI|ntOption|
|00001170| 28 20 4f 70 74 69 6f 6e | 73 2c 20 22 4d 61 78 43 |( Option|s, "MaxC|
|00001180| 6f 6d 6d 61 6e 64 65 72 | 73 22 2c 20 4d 61 78 43 |ommander|s", MaxC|
|00001190| 6f 6d 6d 61 6e 64 65 72 | 73 20 29 3b 0d 0a 0d 0a |ommander|s );....|
|000011a0| 09 49 6e 4f 70 74 20 3d | 20 50 61 72 73 65 4f 70 |.InOpt =| ParseOp|
|000011b0| 74 69 6f 6e 28 20 4f 70 | 74 69 6f 6e 73 2c 20 22 |tion( Op|tions, "|
|000011c0| 43 6f 6f 70 57 65 61 70 | 6f 6e 4d 6f 64 65 22 29 |CoopWeap|onMode")|
|000011d0| 3b 0d 0a 09 69 66 20 28 | 20 49 6e 4f 70 74 20 21 |;...if (| InOpt !|
|000011e0| 3d 20 22 22 20 29 0d 0a | 09 7b 0d 0a 09 09 6c 6f |= "" )..|.{....lo|
|000011f0| 67 28 22 43 6f 6f 70 57 | 65 61 70 6f 6e 4d 6f 64 |g("CoopW|eaponMod|
|00001200| 65 3a 20 22 24 62 6f 6f | 6c 28 49 6e 4f 70 74 29 |e: "$boo|l(InOpt)|
|00001210| 29 3b 0d 0a 09 09 62 43 | 6f 6f 70 57 65 61 70 6f |);....bC|oopWeapo|
|00001220| 6e 4d 6f 64 65 20 3d 20 | 62 6f 6f 6c 28 49 6e 4f |nMode = |bool(InO|
|00001230| 70 74 29 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 49 44 6e |pt);...}|.....IDn|
|00001240| 75 6d 20 3d 20 2d 31 3b | 0d 0a 09 49 44 6e 75 6d |um = -1;|...IDnum|
|00001250| 20 3d 20 47 65 74 49 6e | 74 4f 70 74 69 6f 6e 28 | = GetIn|tOption(|
|00001260| 20 4f 70 74 69 6f 6e 73 | 2c 20 22 54 6f 75 72 6e | Options|, "Tourn|
|00001270| 61 6d 65 6e 74 22 2c 20 | 49 44 6e 75 6d 20 29 3b |ament", |IDnum );|
|00001280| 0d 0a 09 69 66 20 28 20 | 49 44 6e 75 6d 20 3e 20 |...if ( |IDnum > |
|00001290| 30 20 29 0d 0a 09 7b 0d | 0a 09 09 62 52 61 74 65 |0 )...{.|...bRate|
|000012a0| 64 47 61 6d 65 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |dGame = |true;...|
|000012b0| 09 54 69 6d 65 4c 69 6d | 69 74 20 3d 20 30 3b 0d |.TimeLim|it = 0;.|
|000012c0| 0a 09 09 52 65 6d 61 69 | 6e 69 6e 67 54 69 6d 65 |...Remai|ningTime|
|000012d0| 20 3d 20 30 3b 0d 0a 09 | 7d 0d 0a 09 69 66 20 28 | = 0;...|}...if (|
|000012e0| 20 62 54 6f 75 72 6e 61 | 6d 65 6e 74 20 29 20 0d | bTourna|ment ) .|
|000012f0| 0a 09 7b 0d 0a 09 09 62 | 52 65 71 75 69 72 65 52 |..{....b|RequireR|
|00001300| 65 61 64 79 20 3d 20 74 | 72 75 65 3b 0d 0a 09 09 |eady = t|rue;....|
|00001310| 43 68 65 63 6b 52 65 61 | 64 79 28 29 3b 0d 0a 09 |CheckRea|dy();...|
|00001320| 7d 0d 0a 09 69 66 20 28 | 20 4c 65 76 65 6c 2e 4e |}...if (| Level.N|
|00001330| 65 74 4d 6f 64 65 20 3d | 3d 20 4e 4d 5f 53 74 61 |etMode =|= NM_Sta|
|00001340| 6e 64 41 6c 6f 6e 65 20 | 29 0d 0a 09 7b 0d 0a 09 |ndAlone |)...{...|
|00001350| 09 62 52 65 71 75 69 72 | 65 52 65 61 64 79 20 3d |.bRequir|eReady =|
|00001360| 20 74 72 75 65 3b 0d 0a | 09 09 43 6f 75 6e 74 44 | true;..|..CountD|
|00001370| 6f 77 6e 20 3d 20 31 3b | 0d 0a 09 7d 0d 0a 09 69 |own = 1;|...}...i|
|00001380| 66 20 28 20 62 4d 65 67 | 61 53 70 65 65 64 20 29 |f ( bMeg|aSpeed )|
|00001390| 0d 0a 09 09 41 69 72 43 | 6f 6e 74 72 6f 6c 20 3d |....AirC|ontrol =|
|000013a0| 20 30 2e 36 35 3b 0d 0a | 7d 0d 0a 0d 0a 2f 2f 20 | 0.65;..|}....// |
|000013b0| 53 65 74 20 67 61 6d 65 | 20 73 65 74 74 69 6e 67 |Set game| setting|
|000013c0| 73 20 62 61 73 65 64 20 | 6f 6e 20 6c 61 64 64 65 |s based |on ladde|
|000013d0| 72 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 0d 0a |r inform|ation...|
|000013e0| 2f 2f 20 43 61 6c 6c 65 | 64 20 77 68 65 6e 20 52 |// Calle|d when R|
|000013f0| 61 74 65 64 50 6c 61 79 | 65 72 20 6c 6f 67 73 20 |atedPlay|er logs |
|00001400| 69 6e 2e 0d 0a 66 75 6e | 63 74 69 6f 6e 20 49 6e |in...fun|ction In|
|00001410| 69 74 52 61 74 65 64 47 | 61 6d 65 28 4c 61 64 64 |itRatedG|ame(Ladd|
|00001420| 65 72 49 6e 76 65 6e 74 | 6f 72 79 20 4c 61 64 64 |erInvent|ory Ladd|
|00001430| 65 72 4f 62 6a 2c 20 50 | 6c 61 79 65 72 50 61 77 |erObj, P|layerPaw|
|00001440| 6e 20 4c 61 64 64 65 72 | 50 6c 61 79 65 72 29 0d |n Ladder|Player).|
|00001450| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 63 6c 61 73 73 |.{...loc|al class|
|00001460| 3c 52 61 74 65 64 4d 61 | 74 63 68 49 6e 66 6f 3e |<RatedMa|tchInfo>|
|00001470| 20 52 4d 49 3b 0d 0a 09 | 6c 6f 63 61 6c 20 57 65 | RMI;...|local We|
|00001480| 61 70 6f 6e 20 57 3b 0d | 0a 0d 0a 09 46 72 61 67 |apon W;.|....Frag|
|00001490| 4c 69 6d 69 74 20 3d 20 | 4c 61 64 64 65 72 4f 62 |Limit = |LadderOb|
|000014a0| 6a 2e 43 75 72 72 65 6e | 74 4c 61 64 64 65 72 2e |j.Curren|tLadder.|
|000014b0| 44 65 66 61 75 6c 74 2e | 46 72 61 67 4c 69 6d 69 |Default.|FragLimi|
|000014c0| 74 73 5b 49 44 6e 75 6d | 5d 3b 0d 0a 09 52 61 74 |ts[IDnum|];...Rat|
|000014d0| 65 64 47 61 6d 65 4c 61 | 64 64 65 72 4f 62 6a 20 |edGameLa|dderObj |
|000014e0| 3d 20 4c 61 64 64 65 72 | 4f 62 6a 3b 0d 0a 09 69 |= Ladder|Obj;...i|
|000014f0| 66 20 28 4c 61 64 64 65 | 72 4f 62 6a 2e 43 75 72 |f (Ladde|rObj.Cur|
|00001500| 72 65 6e 74 4c 61 64 64 | 65 72 2e 44 65 66 61 75 |rentLadd|er.Defau|
|00001510| 6c 74 2e 54 69 6d 65 4c | 69 6d 69 74 73 5b 49 44 |lt.TimeL|imits[ID|
|00001520| 6e 75 6d 5d 20 3e 20 30 | 29 0d 0a 09 09 54 69 6d |num] > 0|)....Tim|
|00001530| 65 4c 69 6d 69 74 20 3d | 20 4c 61 64 64 65 72 4f |eLimit =| LadderO|
|00001540| 62 6a 2e 43 75 72 72 65 | 6e 74 4c 61 64 64 65 72 |bj.Curre|ntLadder|
|00001550| 2e 44 65 66 61 75 6c 74 | 2e 54 69 6d 65 4c 69 6d |.Default|.TimeLim|
|00001560| 69 74 73 5b 49 44 6e 75 | 6d 5d 3b 0d 0a 09 62 4a |its[IDnu|m];...bJ|
|00001570| 75 6d 70 4d 61 74 63 68 | 20 3d 20 66 61 6c 73 65 |umpMatch| = false|
|00001580| 3b 0d 0a 09 62 48 61 72 | 64 43 6f 72 65 4d 6f 64 |;...bHar|dCoreMod|
|00001590| 65 20 3d 20 74 72 75 65 | 3b 0d 0a 09 62 52 65 71 |e = true|;...bReq|
|000015a0| 75 69 72 65 52 65 61 64 | 79 20 3d 20 74 72 75 65 |uireRead|y = true|
|000015b0| 3b 0d 0a 09 62 4d 65 67 | 61 53 70 65 65 64 20 3d |;...bMeg|aSpeed =|
|000015c0| 20 66 61 6c 73 65 3b 0d | 0a 09 43 6f 75 6e 74 44 | false;.|..CountD|
|000015d0| 6f 77 6e 20 3d 20 31 3b | 0d 0a 09 62 52 61 74 65 |own = 1;|...bRate|
|000015e0| 64 47 61 6d 65 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |dGame = |true;...|
|000015f0| 62 43 6f 6f 70 57 65 61 | 70 6f 6e 4d 6f 64 65 20 |bCoopWea|ponMode |
|00001600| 3d 20 66 61 6c 73 65 3b | 0d 0a 09 62 55 73 65 54 |= false;|...bUseT|
|00001610| 72 61 6e 73 6c 6f 63 61 | 74 6f 72 20 3d 20 62 52 |ransloca|tor = bR|
|00001620| 61 74 65 64 54 72 61 6e | 73 6c 6f 63 61 74 6f 72 |atedTran|slocator|
|00001630| 3b 0d 0a 09 46 6f 72 45 | 61 63 68 20 41 6c 6c 41 |;...ForE|ach AllA|
|00001640| 63 74 6f 72 73 28 63 6c | 61 73 73 27 57 65 61 70 |ctors(cl|ass'Weap|
|00001650| 6f 6e 27 2c 20 57 29 0d | 0a 09 09 57 2e 62 57 65 |on', W).|...W.bWe|
|00001660| 61 70 6f 6e 53 74 61 79 | 20 3d 20 66 61 6c 73 65 |aponStay| = false|
|00001670| 3b 0d 0a 0d 0a 09 52 61 | 74 65 64 50 6c 61 79 65 |;.....Ra|tedPlaye|
|00001680| 72 20 3d 20 4c 61 64 64 | 65 72 50 6c 61 79 65 72 |r = Ladd|erPlayer|
|00001690| 3b 20 0d 0a 0d 0a 09 2f | 2f 20 53 65 74 20 75 70 |; ...../|/ Set up|
|000016a0| 20 52 61 74 65 64 42 6f | 74 43 6f 6e 66 69 67 20 | RatedBo|tConfig |
|000016b0| 66 6f 72 20 74 68 69 73 | 20 67 61 6d 65 0d 0a 09 |for this| game...|
|000016c0| 42 6f 74 43 6f 6e 66 69 | 67 2e 62 41 64 6a 75 73 |BotConfi|g.bAdjus|
|000016d0| 74 53 6b 69 6c 6c 20 3d | 20 66 61 6c 73 65 3b 0d |tSkill =| false;.|
|000016e0| 0a 09 52 4d 49 20 3d 20 | 4c 61 64 64 65 72 4f 62 |..RMI = |LadderOb|
|000016f0| 6a 2e 43 75 72 72 65 6e | 74 4c 61 64 64 65 72 2e |j.Curren|tLadder.|
|00001700| 53 74 61 74 69 63 2e 47 | 65 74 4d 61 74 63 68 43 |Static.G|etMatchC|
|00001710| 6f 6e 66 69 67 54 79 70 | 65 28 49 44 6e 75 6d 29 |onfigTyp|e(IDnum)|
|00001720| 3b 0d 0a 09 52 61 74 65 | 64 4d 61 74 63 68 43 6f |;...Rate|dMatchCo|
|00001730| 6e 66 69 67 20 3d 20 73 | 70 61 77 6e 28 52 4d 49 |nfig = s|pawn(RMI|
|00001740| 29 3b 0d 0a 09 52 65 6d | 61 69 6e 69 6e 67 42 6f |);...Rem|ainingBo|
|00001750| 74 73 20 3d 20 52 61 74 | 65 64 4d 61 74 63 68 43 |ts = Rat|edMatchC|
|00001760| 6f 6e 66 69 67 2e 4e 75 | 6d 42 6f 74 73 3b 20 0d |onfig.Nu|mBots; .|
|00001770| 0a 09 44 69 66 66 69 63 | 75 6c 74 79 20 3d 20 4c |..Diffic|ulty = L|
|00001780| 61 64 64 65 72 4f 62 6a | 2e 54 6f 75 72 6e 61 6d |adderObj|.Tournam|
|00001790| 65 6e 74 44 69 66 66 69 | 63 75 6c 74 79 20 2b 20 |entDiffi|culty + |
|000017a0| 52 61 74 65 64 4d 61 74 | 63 68 43 6f 6e 66 69 67 |RatedMat|chConfig|
|000017b0| 2e 4d 6f 64 69 66 69 65 | 64 44 69 66 66 69 63 75 |.Modifie|dDifficu|
|000017c0| 6c 74 79 3b 0d 0a 09 69 | 66 20 28 20 44 69 66 66 |lty;...i|f ( Diff|
|000017d0| 69 63 75 6c 74 79 20 3e | 3d 20 34 20 29 0d 0a 09 |iculty >|= 4 )...|
|000017e0| 7b 0d 0a 09 09 62 4e 6f | 76 69 63 65 4d 6f 64 65 |{....bNo|viceMode|
|000017f0| 20 3d 20 66 61 6c 73 65 | 3b 0d 0a 09 09 44 69 66 | = false|;....Dif|
|00001800| 66 69 63 75 6c 74 79 20 | 3d 20 44 69 66 66 69 63 |ficulty |= Diffic|
|00001810| 75 6c 74 79 20 2d 20 34 | 3b 0d 0a 09 7d 0d 0a 09 |ulty - 4|;...}...|
|00001820| 65 6c 73 65 0d 0a 09 7b | 0d 0a 09 09 69 66 20 28 |else...{|....if (|
|00001830| 20 44 69 66 66 69 63 75 | 6c 74 79 20 3e 20 33 20 | Difficu|lty > 3 |
|00001840| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 44 69 66 66 69 |)....{..|...Diffi|
|00001850| 63 75 6c 74 79 20 3d 20 | 33 3b 0d 0a 09 09 09 62 |culty = |3;.....b|
|00001860| 54 68 72 65 65 50 6c 75 | 73 20 3d 20 74 72 75 65 |ThreePlu|s = true|
|00001870| 3b 0d 0a 09 09 7d 0d 0a | 09 09 62 4e 6f 76 69 63 |;....}..|..bNovic|
|00001880| 65 4d 6f 64 65 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |eMode = |true;...|
|00001890| 7d 0d 0a 0d 0a 09 2f 2f | 20 55 70 64 61 74 65 20 |}.....//| Update |
|000018a0| 47 52 49 0d 0a 09 49 6e | 69 74 47 61 6d 65 52 65 |GRI...In|itGameRe|
|000018b0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 28 29 3b |plicatio|nInfo();|
|000018c0| 0d 0a 0d 0a 09 2f 2f 20 | 55 70 64 61 74 65 20 4c |.....// |Update L|
|000018d0| 6f 67 67 65 64 20 49 6e | 66 6f 0d 0a 09 69 66 20 |ogged In|fo...if |
|000018e0| 28 62 4c 6f 63 61 6c 4c | 6f 67 20 26 26 20 62 4c |(bLocalL|og && bL|
|000018f0| 6f 67 67 69 6e 67 47 61 | 6d 65 29 0d 0a 09 7b 0d |oggingGa|me)...{.|
|00001900| 0a 09 09 4c 6f 67 47 61 | 6d 65 50 61 72 61 6d 65 |...LogGa|meParame|
|00001910| 74 65 72 73 28 4c 6f 63 | 61 6c 4c 6f 67 29 3b 0d |ters(Loc|alLog);.|
|00001920| 0a 09 7d 0d 0a 09 69 66 | 20 28 62 57 6f 72 6c 64 |..}...if| (bWorld|
|00001930| 4c 6f 67 20 26 26 20 62 | 4c 6f 67 67 69 6e 67 47 |Log && b|LoggingG|
|00001940| 61 6d 65 29 0d 0a 09 7b | 0d 0a 09 09 4c 6f 67 47 |ame)...{|....LogG|
|00001950| 61 6d 65 50 61 72 61 6d | 65 74 65 72 73 28 57 6f |ameParam|eters(Wo|
|00001960| 72 6c 64 4c 6f 67 29 3b | 0d 0a 09 7d 0d 0a 0d 0a |rldLog);|...}....|
|00001970| 09 50 6c 61 79 53 74 61 | 72 74 75 70 4d 65 73 73 |.PlaySta|rtupMess|
|00001980| 61 67 65 28 4c 61 64 64 | 65 72 50 6c 61 79 65 72 |age(Ladd|erPlayer|
|00001990| 29 3b 0d 0a 09 4c 61 64 | 64 65 72 50 6c 61 79 65 |);...Lad|derPlaye|
|000019a0| 72 2e 53 65 74 50 72 6f | 67 72 65 73 73 54 69 6d |r.SetPro|gressTim|
|000019b0| 65 28 36 29 3b 0d 0a 7d | 0d 0a 0d 0a 2f 2a 20 41 |e(6);..}|..../* A|
|000019c0| 63 63 65 70 74 49 6e 76 | 65 6e 74 6f 72 79 28 29 |cceptInv|entory()|
|000019d0| 0d 0a 45 78 61 6d 69 6e | 65 20 74 68 65 20 70 61 |..Examin|e the pa|
|000019e0| 73 73 65 64 20 70 6c 61 | 79 65 72 27 73 20 69 6e |ssed pla|yer's in|
|000019f0| 76 65 6e 74 6f 72 79 2c | 20 61 6e 64 20 61 63 63 |ventory,| and acc|
|00001a00| 65 70 74 20 6f 72 20 64 | 69 73 63 61 72 64 20 65 |ept or d|iscard e|
|00001a10| 61 63 68 20 69 74 65 6d | 0d 0a 2a 20 41 63 63 65 |ach item|..* Acce|
|00001a20| 70 74 49 6e 76 65 6e 74 | 6f 72 79 20 6e 65 65 64 |ptInvent|ory need|
|00001a30| 73 20 74 6f 20 67 72 61 | 63 65 66 75 6c 6c 79 20 |s to gra|cefully |
|00001a40| 68 61 6e 64 6c 65 20 74 | 68 65 20 63 61 73 65 20 |handle t|he case |
|00001a50| 6f 66 20 73 6f 6d 65 20 | 69 6e 76 65 6e 74 6f 72 |of some |inventor|
|00001a60| 79 0d 0a 62 65 69 6e 67 | 20 61 63 63 65 70 74 65 |y..being| accepte|
|00001a70| 64 20 62 75 74 20 6f 74 | 68 65 72 20 69 6e 76 65 |d but ot|her inve|
|00001a80| 6e 74 6f 72 79 20 6e 6f | 74 20 62 65 69 6e 67 20 |ntory no|t being |
|00001a90| 61 63 63 65 70 74 65 64 | 20 28 73 75 63 68 20 61 |accepted| (such a|
|00001aa0| 73 20 74 68 65 20 64 65 | 66 61 75 6c 74 0d 0a 77 |s the de|fault..w|
|00001ab0| 65 61 70 6f 6e 29 2e 20 | 20 54 68 65 72 65 20 61 |eapon). | There a|
|00001ac0| 72 65 20 73 65 76 65 72 | 61 6c 20 74 68 69 6e 67 |re sever|al thing|
|00001ad0| 73 20 74 68 61 74 20 63 | 61 6e 20 67 6f 20 77 72 |s that c|an go wr|
|00001ae0| 6f 6e 67 3a 20 41 20 77 | 65 61 70 6f 6e 27 73 0d |ong: A w|eapon's.|
|00001af0| 0a 41 6d 6d 6f 54 79 70 | 65 20 6e 6f 74 20 62 65 |.AmmoTyp|e not be|
|00001b00| 69 6e 67 20 61 63 63 65 | 70 74 65 64 20 62 75 74 |ing acce|pted but|
|00001b10| 20 74 68 65 20 77 65 61 | 70 6f 6e 20 62 65 69 6e | the wea|pon bein|
|00001b20| 67 20 61 63 63 65 70 74 | 65 64 20 2d 2d 20 74 68 |g accept|ed -- th|
|00001b30| 65 20 77 65 61 70 6f 6e | 0d 0a 73 68 6f 75 6c 64 |e weapon|..should|
|00001b40| 20 62 65 20 6b 69 6c 6c | 65 64 20 6f 66 66 2e 20 | be kill|ed off. |
|00001b50| 4f 72 20 74 68 65 20 70 | 6c 61 79 65 72 27 73 20 |Or the p|layer's |
|00001b60| 73 65 6c 65 63 74 65 64 | 20 69 6e 76 65 6e 74 6f |selected| invento|
|00001b70| 72 79 20 69 74 65 6d 2c | 20 61 63 74 69 76 65 0d |ry item,| active.|
|00001b80| 0a 77 65 61 70 6f 6e 2c | 20 65 74 63 2e 20 6e 6f |.weapon,| etc. no|
|00001b90| 74 20 62 65 69 6e 67 20 | 61 63 63 65 70 74 65 64 |t being |accepted|
|00001ba0| 2c 20 6c 65 61 76 69 6e | 67 20 74 68 65 20 70 6c |, leavin|g the pl|
|00001bb0| 61 79 65 72 20 77 65 61 | 70 6f 6e 6c 65 73 73 20 |ayer wea|ponless |
|00001bc0| 6f 72 20 6c 65 61 76 69 | 6e 67 0d 0a 74 68 65 20 |or leavi|ng..the |
|00001bd0| 48 55 44 20 69 6e 76 65 | 6e 74 6f 72 79 20 72 65 |HUD inve|ntory re|
|00001be0| 6e 64 65 72 69 6e 67 20 | 6d 65 73 73 65 64 20 75 |ndering |messed u|
|00001bf0| 70 20 28 41 63 63 65 70 | 74 49 6e 76 65 6e 74 6f |p (Accep|tInvento|
|00001c00| 72 79 20 73 68 6f 75 6c | 64 20 70 69 63 6b 20 61 |ry shoul|d pick a|
|00001c10| 6e 6f 74 68 65 72 0d 0a | 61 70 70 6c 69 63 61 62 |nother..|applicab|
|00001c20| 6c 65 20 77 65 61 70 6f | 6e 2f 69 74 65 6d 20 61 |le weapo|n/item a|
|00001c30| 73 20 63 75 72 72 65 6e | 74 29 2e 0d 0a 2a 2f 0d |s curren|t)...*/.|
|00001c40| 0a 66 75 6e 63 74 69 6f | 6e 20 41 63 63 65 70 74 |.functio|n Accept|
|00001c50| 49 6e 76 65 6e 74 6f 72 | 79 28 70 61 77 6e 20 50 |Inventor|y(pawn P|
|00001c60| 6c 61 79 65 72 50 61 77 | 6e 29 0d 0a 7b 0d 0a 09 |layerPaw|n)..{...|
|00001c70| 6c 6f 63 61 6c 20 69 6e | 76 65 6e 74 6f 72 79 20 |local in|ventory |
|00001c80| 49 6e 76 3b 0d 0a 09 6c | 6f 63 61 6c 20 4c 61 64 |Inv;...l|ocal Lad|
|00001c90| 64 65 72 49 6e 76 65 6e | 74 6f 72 79 20 4c 61 64 |derInven|tory Lad|
|00001ca0| 64 65 72 4f 62 6a 3b 0d | 0a 0d 0a 09 2f 2f 20 44 |derObj;.|....// D|
|00001cb0| 65 61 74 68 4d 61 74 63 | 68 50 6c 75 73 20 61 63 |eathMatc|hPlus ac|
|00001cc0| 63 65 70 74 73 20 4c 61 | 64 64 65 72 49 6e 76 65 |cepts La|dderInve|
|00001cd0| 6e 74 6f 72 79 0d 0a 09 | 66 6f 72 28 20 49 6e 76 |ntory...|for( Inv|
|00001ce0| 3d 50 6c 61 79 65 72 50 | 61 77 6e 2e 49 6e 76 65 |=PlayerP|awn.Inve|
|00001cf0| 6e 74 6f 72 79 3b 20 49 | 6e 76 21 3d 4e 6f 6e 65 |ntory; I|nv!=None|
|00001d00| 3b 20 49 6e 76 3d 49 6e | 76 2e 49 6e 76 65 6e 74 |; Inv=In|v.Invent|
|00001d10| 6f 72 79 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |ory )...|{....if |
|00001d20| 28 49 6e 76 2e 49 73 41 | 28 27 4c 61 64 64 65 72 |(Inv.IsA|('Ladder|
|00001d30| 49 6e 76 65 6e 74 6f 72 | 79 27 29 29 0d 0a 09 09 |Inventor|y'))....|
|00001d40| 7b 0d 0a 09 09 09 4c 61 | 64 64 65 72 4f 62 6a 20 |{.....La|dderObj |
|00001d50| 3d 20 4c 61 64 64 65 72 | 49 6e 76 65 6e 74 6f 72 |= Ladder|Inventor|
|00001d60| 79 28 49 6e 76 29 3b 0d | 0a 09 09 7d 20 0d 0a 09 |y(Inv);.|...} ...|
|00001d70| 09 65 6c 73 65 20 09 0d | 0a 09 09 09 49 6e 76 2e |.else ..|....Inv.|
|00001d80| 44 65 73 74 72 6f 79 28 | 29 3b 0d 0a 09 7d 0d 0a |Destroy(|);...}..|
|00001d90| 09 50 6c 61 79 65 72 50 | 61 77 6e 2e 57 65 61 70 |.PlayerP|awn.Weap|
|00001da0| 6f 6e 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 50 6c 61 |on = Non|e;...Pla|
|00001db0| 79 65 72 50 61 77 6e 2e | 53 65 6c 65 63 74 65 64 |yerPawn.|Selected|
|00001dc0| 49 74 65 6d 20 3d 20 4e | 6f 6e 65 3b 0d 0a 09 41 |Item = N|one;...A|
|00001dd0| 64 64 44 65 66 61 75 6c | 74 49 6e 76 65 6e 74 6f |ddDefaul|tInvento|
|00001de0| 72 79 28 20 50 6c 61 79 | 65 72 50 61 77 6e 20 29 |ry( Play|erPawn )|
|00001df0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00001e00| 20 62 6f 6f 6c 20 53 65 | 74 45 6e 64 43 61 6d 73 | bool Se|tEndCams|
|00001e10| 28 73 74 72 69 6e 67 20 | 52 65 61 73 6f 6e 29 0d |(string |Reason).|
|00001e20| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 70 61 77 6e 20 |.{...loc|al pawn |
|00001e30| 50 2c 20 42 65 73 74 3b | 0d 0a 09 6c 6f 63 61 6c |P, Best;|...local|
|00001e40| 20 50 6c 61 79 65 72 50 | 61 77 6e 20 50 6c 61 79 | PlayerP|awn Play|
|00001e50| 65 72 3b 0d 0a 0d 0a 09 | 2f 2f 20 66 69 6e 64 20 |er;.....|// find |
|00001e60| 69 6e 64 69 76 69 64 75 | 61 6c 20 77 69 6e 6e 65 |individu|al winne|
|00001e70| 72 0d 0a 09 66 6f 72 20 | 28 20 50 3d 4c 65 76 65 |r...for |( P=Leve|
|00001e80| 6c 2e 50 61 77 6e 4c 69 | 73 74 3b 20 50 21 3d 4e |l.PawnLi|st; P!=N|
|00001e90| 6f 6e 65 3b 20 50 3d 50 | 2e 6e 65 78 74 50 61 77 |one; P=P|.nextPaw|
|00001ea0| 6e 20 29 0d 0a 09 09 69 | 66 20 28 20 50 2e 62 49 |n )....i|f ( P.bI|
|00001eb0| 73 50 6c 61 79 65 72 20 | 26 26 20 28 28 42 65 73 |sPlayer |&& ((Bes|
|00001ec0| 74 20 3d 3d 20 4e 6f 6e | 65 29 20 7c 7c 20 28 50 |t == Non|e) || (P|
|00001ed0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00001ee0| 6f 6e 49 6e 66 6f 2e 53 | 63 6f 72 65 20 3e 20 42 |onInfo.S|core > B|
|00001ef0| 65 73 74 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |est.Play|erReplic|
|00001f00| 61 74 69 6f 6e 49 6e 66 | 6f 2e 53 63 6f 72 65 29 |ationInf|o.Score)|
|00001f10| 29 20 29 0d 0a 09 09 09 | 42 65 73 74 20 3d 20 50 |) ).....|Best = P|
|00001f20| 3b 0d 0a 0d 0a 09 2f 2f | 20 63 68 65 63 6b 20 66 |;.....//| check f|
|00001f30| 6f 72 20 74 69 65 0d 0a | 09 66 6f 72 20 28 20 50 |or tie..|.for ( P|
|00001f40| 3d 4c 65 76 65 6c 2e 50 | 61 77 6e 4c 69 73 74 3b |=Level.P|awnList;|
|00001f50| 20 50 21 3d 4e 6f 6e 65 | 3b 20 50 3d 50 2e 6e 65 | P!=None|; P=P.ne|
|00001f60| 78 74 50 61 77 6e 20 29 | 0d 0a 09 09 69 66 20 28 |xtPawn )|....if (|
|00001f70| 20 50 2e 62 49 73 50 6c | 61 79 65 72 20 26 26 20 | P.bIsPl|ayer && |
|00001f80| 28 42 65 73 74 20 21 3d | 20 50 29 20 26 26 20 28 |(Best !=| P) && (|
|00001f90| 50 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |P.Player|Replicat|
|00001fa0| 69 6f 6e 49 6e 66 6f 2e | 53 63 6f 72 65 20 3d 3d |ionInfo.|Score ==|
|00001fb0| 20 42 65 73 74 2e 50 6c | 61 79 65 72 52 65 70 6c | Best.Pl|ayerRepl|
|00001fc0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 53 63 6f 72 |icationI|nfo.Scor|
|00001fd0| 65 29 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 42 72 |e) )....|{.....Br|
|00001fe0| 6f 61 64 63 61 73 74 4c | 6f 63 61 6c 69 7a 65 64 |oadcastL|ocalized|
|00001ff0| 4d 65 73 73 61 67 65 28 | 20 63 6c 61 73 73 27 44 |Message(| class'D|
|00002000| 65 61 74 68 4d 61 74 63 | 68 4d 65 73 73 61 67 65 |eathMatc|hMessage|
|00002010| 27 2c 20 30 20 29 3b 0d | 0a 09 09 09 72 65 74 75 |', 0 );.|....retu|
|00002020| 72 6e 20 66 61 6c 73 65 | 3b 0d 0a 09 09 7d 09 09 |rn false|;....}..|
|00002030| 0d 0a 0d 0a 09 45 6e 64 | 54 69 6d 65 20 3d 20 4c |.....End|Time = L|
|00002040| 65 76 65 6c 2e 54 69 6d | 65 53 65 63 6f 6e 64 73 |evel.Tim|eSeconds|
|00002050| 20 2b 20 33 2e 30 3b 0d | 0a 09 47 61 6d 65 52 65 | + 3.0;.|..GameRe|
|00002060| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 47 61 |plicatio|nInfo.Ga|
|00002070| 6d 65 45 6e 64 65 64 43 | 6f 6d 6d 65 6e 74 73 20 |meEndedC|omments |
|00002080| 3d 20 42 65 73 74 2e 50 | 6c 61 79 65 72 52 65 70 |= Best.P|layerRep|
|00002090| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 50 6c 61 |lication|Info.Pla|
|000020a0| 79 65 72 4e 61 6d 65 40 | 47 61 6d 65 45 6e 64 65 |yerName@|GameEnde|
|000020b0| 64 4d 65 73 73 61 67 65 | 3b 0d 0a 09 6c 6f 67 28 |dMessage|;...log(|
|000020c0| 20 22 47 61 6d 65 20 65 | 6e 64 65 64 20 61 74 20 | "Game e|nded at |
|000020d0| 22 24 45 6e 64 54 69 6d | 65 29 3b 0d 0a 09 66 6f |"$EndTim|e);...fo|
|000020e0| 72 20 28 20 50 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |r ( P=Le|vel.Pawn|
|000020f0| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00002100| 3d 50 2e 6e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.nextP|awn )...|
|00002110| 7b 0d 0a 09 09 50 6c 61 | 79 65 72 20 3d 20 50 6c |{....Pla|yer = Pl|
|00002120| 61 79 65 72 50 61 77 6e | 28 50 29 3b 0d 0a 09 09 |ayerPawn|(P);....|
|00002130| 69 66 20 28 20 50 6c 61 | 79 65 72 20 21 3d 20 4e |if ( Pla|yer != N|
|00002140| 6f 6e 65 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 69 |one )...|.{.....i|
|00002150| 66 20 28 21 62 54 75 74 | 6f 72 69 61 6c 47 61 6d |f (!bTut|orialGam|
|00002160| 65 29 0d 0a 09 09 09 7b | 0d 0a 09 09 09 09 69 66 |e).....{|......if|
|00002170| 20 28 20 70 6c 61 79 65 | 72 20 3d 3d 20 42 65 73 | ( playe|r == Bes|
|00002180| 74 20 29 0d 0a 09 09 09 | 09 09 50 6c 61 79 65 72 |t ).....|..Player|
|00002190| 2e 43 6c 69 65 6e 74 50 | 6c 61 79 53 6f 75 6e 64 |.ClientP|laySound|
|000021a0| 28 73 6f 75 6e 64 27 41 | 6e 6e 6f 75 6e 63 65 72 |(sound'A|nnouncer|
|000021b0| 2e 57 69 6e 6e 65 72 27 | 2c 20 54 72 75 65 29 3b |.Winner'|, True);|
|000021c0| 0d 0a 09 09 09 09 65 6c | 73 65 20 69 66 20 28 20 |......el|se if ( |
|000021d0| 21 50 6c 61 79 65 72 2e | 49 73 41 28 27 53 70 65 |!Player.|IsA('Spe|
|000021e0| 63 74 61 74 6f 72 27 29 | 20 29 20 0d 0a 09 09 09 |ctator')| ) .....|
|000021f0| 09 09 50 6c 61 79 65 72 | 2e 43 6c 69 65 6e 74 50 |..Player|.ClientP|
|00002200| 6c 61 79 53 6f 75 6e 64 | 28 73 6f 75 6e 64 27 41 |laySound|(sound'A|
|00002210| 6e 6e 6f 75 6e 63 65 72 | 2e 4c 6f 73 74 4d 61 74 |nnouncer|.LostMat|
|00002220| 63 68 27 2c 20 54 72 75 | 65 29 3b 0d 0a 09 09 09 |ch', Tru|e);.....|
|00002230| 7d 0d 0a 09 09 09 50 6c | 61 79 65 72 2e 62 42 65 |}.....Pl|ayer.bBe|
|00002240| 68 69 6e 64 56 69 65 77 | 20 3d 20 74 72 75 65 3b |hindView| = true;|
|00002250| 0d 0a 09 09 09 69 66 20 | 28 20 50 6c 61 79 65 72 |.....if |( Player|
|00002260| 20 3d 3d 20 42 65 73 74 | 20 29 0d 0a 09 09 09 09 | == Best| )......|
|00002270| 50 6c 61 79 65 72 2e 56 | 69 65 77 54 61 72 67 65 |Player.V|iewTarge|
|00002280| 74 20 3d 20 4e 6f 6e 65 | 3b 0d 0a 09 09 09 65 6c |t = None|;.....el|
|00002290| 73 65 0d 0a 09 09 09 09 | 50 6c 61 79 65 72 2e 56 |se......|Player.V|
|000022a0| 69 65 77 54 61 72 67 65 | 74 20 3d 20 42 65 73 74 |iewTarge|t = Best|
|000022b0| 3b 0d 0a 09 09 09 50 6c | 61 79 65 72 2e 43 6c 69 |;.....Pl|ayer.Cli|
|000022c0| 65 6e 74 47 61 6d 65 45 | 6e 64 65 64 28 29 3b 0d |entGameE|nded();.|
|000022d0| 0a 09 09 7d 0d 0a 09 09 | 50 2e 47 6f 74 6f 53 74 |...}....|P.GotoSt|
|000022e0| 61 74 65 28 27 47 61 6d | 65 45 6e 64 65 64 27 29 |ate('Gam|eEnded')|
|000022f0| 3b 0d 0a 09 7d 0d 0a 09 | 72 65 74 75 72 6e 20 74 |;...}...|return t|
|00002300| 72 75 65 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |rue;..}.|...funct|
|00002310| 69 6f 6e 20 4e 6f 74 69 | 66 79 53 70 72 65 65 28 |ion Noti|fySpree(|
|00002320| 50 61 77 6e 20 4f 74 68 | 65 72 2c 20 69 6e 74 20 |Pawn Oth|er, int |
|00002330| 6e 75 6d 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |num)..{.|..local |
|00002340| 50 61 77 6e 20 50 3b 0d | 0a 0d 0a 09 69 66 20 28 |Pawn P;.|....if (|
|00002350| 20 6e 75 6d 20 3d 3d 20 | 35 20 29 0d 0a 09 09 6e | num == |5 )....n|
|00002360| 75 6d 20 3d 20 30 3b 0d | 0a 09 65 6c 73 65 20 69 |um = 0;.|..else i|
|00002370| 66 20 28 20 6e 75 6d 20 | 3d 3d 20 31 30 20 29 0d |f ( num |== 10 ).|
|00002380| 0a 09 09 6e 75 6d 20 3d | 20 31 3b 0d 0a 09 65 6c |...num =| 1;...el|
|00002390| 73 65 20 69 66 20 28 20 | 6e 75 6d 20 3d 3d 20 31 |se if ( |num == 1|
|000023a0| 35 20 29 0d 0a 09 09 6e | 75 6d 20 3d 20 32 3b 0d |5 )....n|um = 2;.|
|000023b0| 0a 09 65 6c 73 65 20 69 | 66 20 28 20 6e 75 6d 20 |..else i|f ( num |
|000023c0| 3d 3d 20 32 30 20 29 0d | 0a 09 09 6e 75 6d 20 3d |== 20 ).|...num =|
|000023d0| 20 33 3b 0d 0a 09 65 6c | 73 65 20 69 66 20 28 20 | 3;...el|se if ( |
|000023e0| 6e 75 6d 20 3d 3d 20 32 | 35 20 29 0d 0a 09 09 6e |num == 2|5 )....n|
|000023f0| 75 6d 20 3d 20 34 3b 0d | 0a 09 65 6c 73 65 0d 0a |um = 4;.|..else..|
|00002400| 09 09 72 65 74 75 72 6e | 3b 0d 0a 0d 0a 09 66 6f |..return|;.....fo|
|00002410| 72 20 28 20 50 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |r ( P=Le|vel.Pawn|
|00002420| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00002430| 3d 50 2e 4e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.NextP|awn )...|
|00002440| 09 69 66 20 28 20 50 2e | 49 73 41 28 27 54 6f 75 |.if ( P.|IsA('Tou|
|00002450| 72 6e 61 6d 65 6e 74 50 | 6c 61 79 65 72 27 29 20 |rnamentP|layer') |
|00002460| 29 0d 0a 09 09 09 50 2e | 52 65 63 65 69 76 65 4c |).....P.|ReceiveL|
|00002470| 6f 63 61 6c 69 7a 65 64 | 4d 65 73 73 61 67 65 28 |ocalized|Message(|
|00002480| 20 63 6c 61 73 73 27 4b | 69 6c 6c 69 6e 67 53 70 | class'K|illingSp|
|00002490| 72 65 65 4d 65 73 73 61 | 67 65 27 2c 20 4e 75 6d |reeMessa|ge', Num|
|000024a0| 2c 20 4f 74 68 65 72 2e | 50 6c 61 79 65 72 52 65 |, Other.|PlayerRe|
|000024b0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 20 29 3b |plicatio|nInfo );|
|000024c0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000024d0| 45 6e 64 53 70 72 65 65 | 28 50 61 77 6e 20 4b 69 |EndSpree|(Pawn Ki|
|000024e0| 6c 6c 65 72 2c 20 50 61 | 77 6e 20 4f 74 68 65 72 |ller, Pa|wn Other|
|000024f0| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 50 61 77 |)..{...l|ocal Paw|
|00002500| 6e 20 50 3b 0d 0a 0d 0a | 09 69 66 20 28 20 21 4f |n P;....|.if ( !O|
|00002510| 74 68 65 72 2e 62 49 73 | 50 6c 61 79 65 72 20 29 |ther.bIs|Player )|
|00002520| 0d 0a 09 09 72 65 74 75 | 72 6e 3b 0d 0a 09 66 6f |....retu|rn;...fo|
|00002530| 72 20 28 20 50 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |r ( P=Le|vel.Pawn|
|00002540| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00002550| 3d 50 2e 4e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.NextP|awn )...|
|00002560| 09 69 66 20 28 20 50 2e | 49 73 41 28 27 54 6f 75 |.if ( P.|IsA('Tou|
|00002570| 72 6e 61 6d 65 6e 74 50 | 6c 61 79 65 72 27 29 20 |rnamentP|layer') |
|00002580| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 69 66 20 28 20 |)....{..|...if ( |
|00002590| 28 4b 69 6c 6c 65 72 20 | 3d 3d 20 4e 6f 6e 65 29 |(Killer |== None)|
|000025a0| 20 7c 7c 20 21 4b 69 6c | 6c 65 72 2e 62 49 73 50 | || !Kil|ler.bIsP|
|000025b0| 6c 61 79 65 72 20 29 0d | 0a 09 09 09 09 54 6f 75 |layer ).|.....Tou|
|000025c0| 72 6e 61 6d 65 6e 74 50 | 6c 61 79 65 72 28 50 29 |rnamentP|layer(P)|
|000025d0| 2e 45 6e 64 53 70 72 65 | 65 28 4e 6f 6e 65 2c 20 |.EndSpre|e(None, |
|000025e0| 4f 74 68 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |Other.Pl|ayerRepl|
|000025f0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 29 3b 0d 0a 09 |icationI|nfo);...|
|00002600| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 54 6f 75 72 |..else..|....Tour|
|00002610| 6e 61 6d 65 6e 74 50 6c | 61 79 65 72 28 50 29 2e |namentPl|ayer(P).|
|00002620| 45 6e 64 53 70 72 65 65 | 28 4b 69 6c 6c 65 72 2e |EndSpree|(Killer.|
|00002630| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00002640| 6e 49 6e 66 6f 2c 20 4f | 74 68 65 72 2e 50 6c 61 |nInfo, O|ther.Pla|
|00002650| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00002660| 66 6f 29 3b 0d 0a 09 09 | 7d 0d 0a 7d 0d 0a 0d 0a |fo);....|}..}....|
|00002670| 66 75 6e 63 74 69 6f 6e | 20 53 63 6f 72 65 4b 69 |function| ScoreKi|
|00002680| 6c 6c 28 70 61 77 6e 20 | 4b 69 6c 6c 65 72 2c 20 |ll(pawn |Killer, |
|00002690| 70 61 77 6e 20 4f 74 68 | 65 72 29 0d 0a 7b 0d 0a |pawn Oth|er)..{..|
|000026a0| 09 53 75 70 65 72 2e 53 | 63 6f 72 65 4b 69 6c 6c |.Super.S|coreKill|
|000026b0| 28 4b 69 6c 6c 65 72 2c | 20 4f 74 68 65 72 29 3b |(Killer,| Other);|
|000026c0| 0d 0a 0d 0a 09 69 66 20 | 28 20 62 41 6c 74 53 63 |.....if |( bAltSc|
|000026d0| 6f 72 69 6e 67 20 26 26 | 20 28 4b 69 6c 6c 65 72 |oring &&| (Killer|
|000026e0| 20 21 3d 20 4f 74 68 65 | 72 29 20 26 26 20 28 6b | != Othe|r) && (k|
|000026f0| 69 6c 6c 65 72 20 21 3d | 20 4e 6f 6e 65 29 20 29 |iller !=| None) )|
|00002700| 0d 0a 09 09 4f 74 68 65 | 72 2e 50 6c 61 79 65 72 |....Othe|r.Player|
|00002710| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00002720| 53 63 6f 72 65 20 2d 3d | 20 31 3b 0d 0a 7d 0d 0a |Score -=| 1;..}..|
|00002730| 0d 0a 2f 2f 20 4d 6f 6e | 69 74 6f 72 20 6b 69 6c |..// Mon|itor kil|
|00002740| 6c 65 64 20 6d 65 73 73 | 61 67 65 73 20 66 6f 72 |led mess|ages for|
|00002750| 20 66 72 61 67 6c 69 6d | 69 74 0d 0a 66 75 6e 63 | fraglim|it..func|
|00002760| 74 69 6f 6e 20 4b 69 6c | 6c 65 64 28 70 61 77 6e |tion Kil|led(pawn|
|00002770| 20 6b 69 6c 6c 65 72 2c | 20 70 61 77 6e 20 4f 74 | killer,| pawn Ot|
|00002780| 68 65 72 2c 20 6e 61 6d | 65 20 64 61 6d 61 67 65 |her, nam|e damage|
|00002790| 54 79 70 65 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |Type)..{|...local|
|000027a0| 20 69 6e 74 20 4e 65 78 | 74 54 61 75 6e 74 2c 20 | int Nex|tTaunt, |
|000027b0| 69 3b 0d 0a 09 6c 6f 63 | 61 6c 20 62 6f 6f 6c 20 |i;...loc|al bool |
|000027c0| 62 41 75 74 6f 54 61 75 | 6e 74 3b 0d 0a 0d 0a 09 |bAutoTau|nt;.....|
|000027d0| 69 66 20 28 20 28 64 61 | 6d 61 67 65 54 79 70 65 |if ( (da|mageType|
|000027e0| 20 3d 3d 20 27 44 65 63 | 61 70 69 74 61 74 65 64 | == 'Dec|apitated|
|000027f0| 27 29 20 26 26 20 28 4b | 69 6c 6c 65 72 20 21 3d |') && (K|iller !=|
|00002800| 20 4f 74 68 65 72 29 20 | 29 0d 0a 09 7b 0d 0a 09 | Other) |)...{...|
|00002810| 09 69 66 20 28 4c 65 76 | 65 6c 2e 47 61 6d 65 2e |.if (Lev|el.Game.|
|00002820| 4c 6f 63 61 6c 4c 6f 67 | 20 21 3d 20 4e 6f 6e 65 |LocalLog| != None|
|00002830| 29 0d 0a 09 09 09 4c 65 | 76 65 6c 2e 47 61 6d 65 |).....Le|vel.Game|
|00002840| 2e 4c 6f 63 61 6c 4c 6f | 67 2e 4c 6f 67 53 70 65 |.LocalLo|g.LogSpe|
|00002850| 63 69 61 6c 45 76 65 6e | 74 28 22 68 65 61 64 73 |cialEven|t("heads|
|00002860| 68 6f 74 22 2c 20 4b 69 | 6c 6c 65 72 2e 50 6c 61 |hot", Ki|ller.Pla|
|00002870| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00002880| 66 6f 2e 50 6c 61 79 65 | 72 49 44 2c 20 4f 74 68 |fo.Playe|rID, Oth|
|00002890| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|000028a0| 74 69 6f 6e 49 6e 66 6f | 2e 50 6c 61 79 65 72 49 |tionInfo|.PlayerI|
|000028b0| 44 29 3b 0d 0a 09 09 69 | 66 20 28 4c 65 76 65 6c |D);....i|f (Level|
|000028c0| 2e 47 61 6d 65 2e 57 6f | 72 6c 64 4c 6f 67 20 21 |.Game.Wo|rldLog !|
|000028d0| 3d 20 4e 6f 6e 65 29 0d | 0a 09 09 09 4c 65 76 65 |= None).|....Leve|
|000028e0| 6c 2e 47 61 6d 65 2e 57 | 6f 72 6c 64 4c 6f 67 2e |l.Game.W|orldLog.|
|000028f0| 4c 6f 67 53 70 65 63 69 | 61 6c 45 76 65 6e 74 28 |LogSpeci|alEvent(|
|00002900| 22 68 65 61 64 73 68 6f | 74 22 2c 20 4b 69 6c 6c |"headsho|t", Kill|
|00002910| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00002920| 74 69 6f 6e 49 6e 66 6f | 2e 50 6c 61 79 65 72 49 |tionInfo|.PlayerI|
|00002930| 44 2c 20 4f 74 68 65 72 | 2e 50 6c 61 79 65 72 52 |D, Other|.PlayerR|
|00002940| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 50 |eplicati|onInfo.P|
|00002950| 6c 61 79 65 72 49 44 29 | 3b 0d 0a 09 09 4b 69 6c |layerID)|;....Kil|
|00002960| 6c 65 72 2e 52 65 63 65 | 69 76 65 4c 6f 63 61 6c |ler.Rece|iveLocal|
|00002970| 69 7a 65 64 4d 65 73 73 | 61 67 65 28 20 63 6c 61 |izedMess|age( cla|
|00002980| 73 73 27 44 65 63 61 70 | 69 74 61 74 69 6f 6e 4d |ss'Decap|itationM|
|00002990| 65 73 73 61 67 65 27 20 | 29 3b 0d 0a 09 7d 0d 0a |essage' |);...}..|
|000029a0| 0d 0a 09 53 75 70 65 72 | 2e 4b 69 6c 6c 65 64 28 |...Super|.Killed(|
|000029b0| 6b 69 6c 6c 65 72 2c 20 | 4f 74 68 65 72 2c 20 64 |killer, |Other, d|
|000029c0| 61 6d 61 67 65 54 79 70 | 65 29 3b 0d 0a 0d 0a 09 |amageTyp|e);.....|
|000029d0| 69 66 20 28 20 4f 74 68 | 65 72 2e 53 70 72 65 65 |if ( Oth|er.Spree|
|000029e0| 20 3e 20 34 20 29 0d 0a | 09 09 45 6e 64 53 70 72 | > 4 )..|..EndSpr|
|000029f0| 65 65 28 4b 69 6c 6c 65 | 72 2c 20 4f 74 68 65 72 |ee(Kille|r, Other|
|00002a00| 29 3b 20 0d 0a 09 4f 74 | 68 65 72 2e 53 70 72 65 |); ...Ot|her.Spre|
|00002a10| 65 20 3d 20 30 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |e = 0;..|...if ( |
|00002a20| 28 6b 69 6c 6c 65 72 20 | 3d 3d 20 4e 6f 6e 65 29 |(killer |== None)|
|00002a30| 20 7c 7c 20 28 4f 74 68 | 65 72 20 3d 3d 20 4e 6f | || (Oth|er == No|
|00002a40| 6e 65 29 20 29 0d 0a 09 | 09 72 65 74 75 72 6e 3b |ne) )...|.return;|
|00002a50| 0d 0a 09 69 66 20 28 20 | 21 62 46 69 72 73 74 42 |...if ( |!bFirstB|
|00002a60| 6c 6f 6f 64 20 29 0d 0a | 09 09 69 66 20 28 20 4b |lood )..|..if ( K|
|00002a70| 69 6c 6c 65 72 2e 62 49 | 73 50 6c 61 79 65 72 20 |iller.bI|sPlayer |
|00002a80| 26 26 20 28 4b 69 6c 6c | 65 72 20 21 3d 20 4f 74 |&& (Kill|er != Ot|
|00002a90| 68 65 72 29 20 29 0d 0a | 09 09 09 69 66 20 28 21 |her) )..|...if (!|
|00002aa0| 53 65 6c 66 2e 49 73 41 | 28 27 54 72 61 69 6e 69 |Self.IsA|('Traini|
|00002ab0| 6e 67 44 4d 27 29 29 0d | 0a 09 09 09 7b 0d 0a 09 |ngDM')).|....{...|
|00002ac0| 09 09 09 62 46 69 72 73 | 74 42 6c 6f 6f 64 20 3d |...bFirs|tBlood =|
|00002ad0| 20 54 72 75 65 3b 0d 0a | 09 09 09 09 42 72 6f 61 | True;..|....Broa|
|00002ae0| 64 63 61 73 74 4c 6f 63 | 61 6c 69 7a 65 64 4d 65 |dcastLoc|alizedMe|
|00002af0| 73 73 61 67 65 28 20 63 | 6c 61 73 73 27 46 69 72 |ssage( c|lass'Fir|
|00002b00| 73 74 42 6c 6f 6f 64 4d | 65 73 73 61 67 65 27 2c |stBloodM|essage',|
|00002b10| 20 30 2c 20 4b 69 6c 6c | 65 72 2e 50 6c 61 79 65 | 0, Kill|er.Playe|
|00002b20| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00002b30| 20 29 3b 0d 0a 09 09 09 | 7d 0d 0a 0d 0a 09 69 66 | );.....|}.....if|
|00002b40| 20 28 20 21 62 54 65 61 | 6d 47 61 6d 65 20 26 26 | ( !bTea|mGame &&|
|00002b50| 20 28 62 4f 76 65 72 54 | 69 6d 65 20 7c 7c 20 28 | (bOverT|ime || (|
|00002b60| 46 72 61 67 4c 69 6d 69 | 74 20 3e 20 30 29 29 20 |FragLimi|t > 0)) |
|00002b70| 26 26 20 28 6b 69 6c 6c | 65 72 2e 50 6c 61 79 65 |&& (kill|er.Playe|
|00002b80| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00002b90| 2e 53 63 6f 72 65 20 3e | 3d 20 46 72 61 67 4c 69 |.Score >|= FragLi|
|00002ba0| 6d 69 74 29 20 29 0d 0a | 09 09 45 6e 64 47 61 6d |mit) )..|..EndGam|
|00002bb0| 65 28 22 66 72 61 67 6c | 69 6d 69 74 22 29 3b 0d |e("fragl|imit");.|
|00002bc0| 0a 0d 0a 09 69 66 20 28 | 20 42 6f 74 43 6f 6e 66 |....if (| BotConf|
|00002bd0| 69 67 2e 62 41 64 6a 75 | 73 74 53 6b 69 6c 6c 20 |ig.bAdju|stSkill |
|00002be0| 26 26 20 28 6b 69 6c 6c | 65 72 2e 49 73 41 28 27 |&& (kill|er.IsA('|
|00002bf0| 50 6c 61 79 65 72 50 61 | 77 6e 27 29 20 7c 7c 20 |PlayerPa|wn') || |
|00002c00| 4f 74 68 65 72 2e 49 73 | 41 28 27 50 6c 61 79 65 |Other.Is|A('Playe|
|00002c10| 72 50 61 77 6e 27 29 29 | 20 29 0d 0a 09 7b 0d 0a |rPawn'))| )...{..|
|00002c20| 09 09 69 66 20 28 20 6b | 69 6c 6c 65 72 2e 49 73 |..if ( k|iller.Is|
|00002c30| 41 28 27 42 6f 74 27 29 | 20 29 0d 0a 09 09 09 42 |A('Bot')| ).....B|
|00002c40| 6f 74 28 6b 69 6c 6c 65 | 72 29 2e 41 64 6a 75 73 |ot(kille|r).Adjus|
|00002c50| 74 53 6b 69 6c 6c 28 74 | 72 75 65 29 3b 0d 0a 09 |tSkill(t|rue);...|
|00002c60| 09 69 66 20 28 20 4f 74 | 68 65 72 2e 49 73 41 28 |.if ( Ot|her.IsA(|
|00002c70| 27 42 6f 74 27 29 20 29 | 0d 0a 09 09 09 42 6f 74 |'Bot') )|.....Bot|
|00002c80| 28 4f 74 68 65 72 29 2e | 41 64 6a 75 73 74 53 6b |(Other).|AdjustSk|
|00002c90| 69 6c 6c 28 66 61 6c 73 | 65 29 3b 0d 0a 09 7d 0d |ill(fals|e);...}.|
|00002ca0| 0a 09 09 0d 0a 09 69 66 | 20 28 20 4f 74 68 65 72 |......if| ( Other|
|00002cb0| 2e 62 49 73 50 6c 61 79 | 65 72 20 26 26 20 28 4b |.bIsPlay|er && (K|
|00002cc0| 69 6c 6c 65 72 20 21 3d | 20 4e 6f 6e 65 29 20 26 |iller !=| None) &|
|00002cd0| 26 20 4b 69 6c 6c 65 72 | 2e 62 49 73 50 6c 61 79 |& Killer|.bIsPlay|
|00002ce0| 65 72 20 26 26 20 28 4b | 69 6c 6c 65 72 20 21 3d |er && (K|iller !=|
|00002cf0| 20 4f 74 68 65 72 29 20 | 0d 0a 09 09 26 26 20 28 | Other) |....&& (|
|00002d00| 21 62 54 65 61 6d 47 61 | 6d 65 20 7c 7c 20 28 4f |!bTeamGa|me || (O|
|00002d10| 74 68 65 72 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ther.Pla|yerRepli|
|00002d20| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 54 65 61 6d 20 |cationIn|fo.Team |
|00002d30| 21 3d 20 4b 69 6c 6c 65 | 72 2e 50 6c 61 79 65 72 |!= Kille|r.Player|
|00002d40| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00002d50| 54 65 61 6d 29 29 20 29 | 0d 0a 09 7b 0d 0a 09 09 |Team)) )|...{....|
|00002d60| 4b 69 6c 6c 65 72 2e 53 | 70 72 65 65 2b 2b 3b 0d |Killer.S|pree++;.|
|00002d70| 0a 09 09 69 66 20 28 20 | 4b 69 6c 6c 65 72 2e 53 |...if ( |Killer.S|
|00002d80| 70 72 65 65 20 3e 20 34 | 20 29 0d 0a 09 09 09 4e |pree > 4| ).....N|
|00002d90| 6f 74 69 66 79 53 70 72 | 65 65 28 4b 69 6c 6c 65 |otifySpr|ee(Kille|
|00002da0| 72 2c 20 4b 69 6c 6c 65 | 72 2e 53 70 72 65 65 29 |r, Kille|r.Spree)|
|00002db0| 3b 0d 0a 09 7d 20 0d 0a | 0d 0a 09 62 41 75 74 6f |;...} ..|...bAuto|
|00002dc0| 54 61 75 6e 74 20 3d 20 | 28 28 54 6f 75 72 6e 61 |Taunt = |((Tourna|
|00002dd0| 6d 65 6e 74 50 6c 61 79 | 65 72 28 4b 69 6c 6c 65 |mentPlay|er(Kille|
|00002de0| 72 29 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 54 |r) != No|ne) && T|
|00002df0| 6f 75 72 6e 61 6d 65 6e | 74 50 6c 61 79 65 72 28 |ournamen|tPlayer(|
|00002e00| 4b 69 6c 6c 65 72 29 2e | 62 41 75 74 6f 54 61 75 |Killer).|bAutoTau|
|00002e10| 6e 74 29 3b 0d 0a 09 69 | 66 20 28 20 28 28 42 6f |nt);...i|f ( ((Bo|
|00002e20| 74 28 4b 69 6c 6c 65 72 | 29 20 21 3d 20 4e 6f 6e |t(Killer|) != Non|
|00002e30| 65 29 20 7c 7c 20 62 41 | 75 74 6f 54 61 75 6e 74 |e) || bA|utoTaunt|
|00002e40| 29 0d 0a 09 09 26 26 20 | 28 4b 69 6c 6c 65 72 20 |)....&& |(Killer |
|00002e50| 21 3d 20 4f 74 68 65 72 | 29 20 26 26 20 28 44 61 |!= Other|) && (Da|
|00002e60| 6d 61 67 65 54 79 70 65 | 20 21 3d 20 27 67 69 62 |mageType| != 'gib|
|00002e70| 62 65 64 27 29 20 26 26 | 20 28 4b 69 6c 6c 65 72 |bed') &&| (Killer|
|00002e80| 2e 48 65 61 6c 74 68 20 | 3e 20 30 29 0d 0a 09 09 |.Health |> 0)....|
|00002e90| 26 26 20 28 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 |&& (Leve|l.TimeSe|
|00002ea0| 63 6f 6e 64 73 20 2d 20 | 4c 61 73 74 54 61 75 6e |conds - |LastTaun|
|00002eb0| 74 54 69 6d 65 20 3e 20 | 33 29 20 29 0d 0a 09 7b |tTime > |3) )...{|
|00002ec0| 0d 0a 09 09 4c 61 73 74 | 54 61 75 6e 74 54 69 6d |....Last|TauntTim|
|00002ed0| 65 20 3d 20 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 |e = Leve|l.TimeSe|
|00002ee0| 63 6f 6e 64 73 3b 0d 0a | 09 09 4e 65 78 74 54 61 |conds;..|..NextTa|
|00002ef0| 75 6e 74 20 3d 20 52 61 | 6e 64 28 63 6c 61 73 73 |unt = Ra|nd(class|
|00002f00| 3c 43 68 61 6c 6c 65 6e | 67 65 56 6f 69 63 65 50 |<Challen|geVoiceP|
|00002f10| 61 63 6b 3e 28 4b 69 6c | 6c 65 72 2e 50 6c 61 79 |ack>(Kil|ler.Play|
|00002f20| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00002f30| 6f 2e 56 6f 69 63 65 54 | 79 70 65 29 2e 44 65 66 |o.VoiceT|ype).Def|
|00002f40| 61 75 6c 74 2e 4e 75 6d | 54 61 75 6e 74 73 29 3b |ault.Num|Taunts);|
|00002f50| 0d 0a 09 09 66 6f 72 20 | 28 20 69 3d 30 3b 20 69 |....for |( i=0; i|
|00002f60| 3c 34 3b 20 69 2b 2b 20 | 29 0d 0a 09 09 7b 0d 0a |<4; i++ |)....{..|
|00002f70| 09 09 09 69 66 20 28 20 | 4e 65 78 74 54 61 75 6e |...if ( |NextTaun|
|00002f80| 74 20 3d 3d 20 4c 61 73 | 74 54 61 75 6e 74 5b 69 |t == Las|tTaunt[i|
|00002f90| 5d 20 29 0d 0a 09 09 09 | 09 4e 65 78 74 54 61 75 |] ).....|.NextTau|
|00002fa0| 6e 74 20 3d 20 52 61 6e | 64 28 63 6c 61 73 73 3c |nt = Ran|d(class<|
|00002fb0| 43 68 61 6c 6c 65 6e 67 | 65 56 6f 69 63 65 50 61 |Challeng|eVoicePa|
|00002fc0| 63 6b 3e 28 4b 69 6c 6c | 65 72 2e 50 6c 61 79 65 |ck>(Kill|er.Playe|
|00002fd0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00002fe0| 2e 56 6f 69 63 65 54 79 | 70 65 29 2e 44 65 66 61 |.VoiceTy|pe).Defa|
|00002ff0| 75 6c 74 2e 4e 75 6d 54 | 61 75 6e 74 73 29 3b 0d |ult.NumT|aunts);.|
|00003000| 0a 09 09 09 69 66 20 28 | 20 69 20 3e 20 30 20 29 |....if (| i > 0 )|
|00003010| 0d 0a 09 09 09 09 4c 61 | 73 74 54 61 75 6e 74 5b |......La|stTaunt[|
|00003020| 69 2d 31 5d 20 3d 20 4c | 61 73 74 54 61 75 6e 74 |i-1] = L|astTaunt|
|00003030| 5b 69 5d 3b 0d 0a 09 09 | 7d 09 0d 0a 09 09 4c 61 |[i];....|}.....La|
|00003040| 73 74 54 61 75 6e 74 5b | 33 5d 20 3d 20 4e 65 78 |stTaunt[|3] = Nex|
|00003050| 74 54 61 75 6e 74 3b 0d | 0a 09 09 69 66 20 28 20 |tTaunt;.|...if ( |
|00003060| 62 41 75 74 6f 54 61 75 | 6e 74 20 29 0d 0a 09 20 |bAutoTau|nt )... |
|00003070| 09 09 6b 69 6c 6c 65 72 | 2e 53 65 6e 64 47 6c 6f |..killer|.SendGlo|
|00003080| 62 61 6c 4d 65 73 73 61 | 67 65 28 4e 6f 6e 65 2c |balMessa|ge(None,|
|00003090| 20 27 41 55 54 4f 54 41 | 55 4e 54 27 2c 20 4e 65 | 'AUTOTA|UNT', Ne|
|000030a0| 78 74 54 61 75 6e 74 2c | 20 35 29 3b 0d 0a 09 09 |xtTaunt,| 5);....|
|000030b0| 65 6c 73 65 0d 0a 09 20 | 09 09 6b 69 6c 6c 65 72 |else... |..killer|
|000030c0| 2e 53 65 6e 64 47 6c 6f | 62 61 6c 4d 65 73 73 61 |.SendGlo|balMessa|
|000030d0| 67 65 28 4e 6f 6e 65 2c | 20 27 54 41 55 4e 54 27 |ge(None,| 'TAUNT'|
|000030e0| 2c 20 4e 65 78 74 54 61 | 75 6e 74 2c 20 35 29 3b |, NextTa|unt, 5);|
|000030f0| 0d 0a 09 7d 0d 0a 09 69 | 66 20 28 20 62 52 61 74 |...}...i|f ( bRat|
|00003100| 65 64 47 61 6d 65 20 29 | 0d 0a 09 09 52 61 74 65 |edGame )|....Rate|
|00003110| 56 73 28 4f 74 68 65 72 | 2c 20 4b 69 6c 6c 65 72 |Vs(Other|, Killer|
|00003120| 29 3b 0d 0a 7d 0d 0a 0d | 0a 65 76 65 6e 74 20 70 |);..}...|.event p|
|00003130| 6c 61 79 65 72 70 61 77 | 6e 20 4c 6f 67 69 6e 0d |layerpaw|n Login.|
|00003140| 0a 28 0d 0a 09 73 74 72 | 69 6e 67 20 50 6f 72 74 |.(...str|ing Port|
|00003150| 61 6c 2c 0d 0a 09 73 74 | 72 69 6e 67 20 4f 70 74 |al,...st|ring Opt|
|00003160| 69 6f 6e 73 2c 0d 0a 09 | 6f 75 74 20 73 74 72 69 |ions,...|out stri|
|00003170| 6e 67 20 45 72 72 6f 72 | 2c 0d 0a 09 63 6c 61 73 |ng Error|,...clas|
|00003180| 73 3c 70 6c 61 79 65 72 | 70 61 77 6e 3e 20 53 70 |s<player|pawn> Sp|
|00003190| 61 77 6e 43 6c 61 73 73 | 0d 0a 29 0d 0a 7b 0d 0a |awnClass|..)..{..|
|000031a0| 09 6c 6f 63 61 6c 20 70 | 6c 61 79 65 72 70 61 77 |.local p|layerpaw|
|000031b0| 6e 20 4e 65 77 50 6c 61 | 79 65 72 3b 0d 0a 0d 0a |n NewPla|yer;....|
|000031c0| 09 69 66 20 28 20 28 4c | 65 76 65 6c 2e 4e 65 74 |.if ( (L|evel.Net|
|000031d0| 4d 6f 64 65 20 21 3d 20 | 4e 4d 5f 53 74 61 6e 64 |Mode != |NM_Stand|
|000031e0| 61 6c 6f 6e 65 29 20 26 | 26 20 28 4e 75 6d 43 6f |alone) &|& (NumCo|
|000031f0| 6d 6d 61 6e 64 65 72 73 | 20 3e 3d 20 4d 61 78 43 |mmanders| >= MaxC|
|00003200| 6f 6d 6d 61 6e 64 65 72 | 73 29 20 26 26 20 43 6c |ommander|s) && Cl|
|00003210| 61 73 73 49 73 43 68 69 | 6c 64 4f 66 28 53 70 61 |assIsChi|ldOf(Spa|
|00003220| 77 6e 43 6c 61 73 73 2c | 20 63 6c 61 73 73 27 43 |wnClass,| class'C|
|00003230| 6f 6d 6d 61 6e 64 65 72 | 27 29 20 29 0d 0a 09 7b |ommander|') )...{|
|00003240| 0d 0a 09 09 45 72 72 6f | 72 3d 22 4d 61 78 20 63 |....Erro|r="Max c|
|00003250| 6f 6d 6d 61 6e 64 65 72 | 73 20 22 24 4d 61 78 43 |ommander|s "$MaxC|
|00003260| 6f 6d 6d 61 6e 64 65 72 | 73 24 22 20 65 78 63 65 |ommander|s$" exce|
|00003270| 65 64 65 64 22 3b 0d 0a | 09 09 72 65 74 75 72 6e |eded";..|..return|
|00003280| 20 4e 6f 6e 65 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 4e | None;..|.}.....N|
|00003290| 65 77 50 6c 61 79 65 72 | 20 3d 20 53 75 70 65 72 |ewPlayer| = Super|
|000032a0| 2e 4c 6f 67 69 6e 28 50 | 6f 72 74 61 6c 2c 20 4f |.Login(P|ortal, O|
|000032b0| 70 74 69 6f 6e 73 2c 20 | 45 72 72 6f 72 2c 20 53 |ptions, |Error, S|
|000032c0| 70 61 77 6e 43 6c 61 73 | 73 29 3b 0d 0a 0d 0a 09 |pawnClas|s);.....|
|000032d0| 69 66 20 28 20 4e 65 77 | 50 6c 61 79 65 72 20 21 |if ( New|Player !|
|000032e0| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 7b 0d 0a 09 09 |= None )|...{....|
|000032f0| 69 66 20 28 20 62 52 61 | 74 65 64 47 61 6d 65 20 |if ( bRa|tedGame |
|00003300| 29 0d 0a 09 09 09 4e 65 | 77 50 6c 61 79 65 72 2e |).....Ne|wPlayer.|
|00003310| 41 69 72 43 6f 6e 74 72 | 6f 6c 20 3d 20 30 2e 33 |AirContr|ol = 0.3|
|00003320| 35 3b 0d 0a 09 09 65 6c | 73 65 0d 0a 09 09 09 4e |5;....el|se.....N|
|00003330| 65 77 50 6c 61 79 65 72 | 2e 41 69 72 43 6f 6e 74 |ewPlayer|.AirCont|
|00003340| 72 6f 6c 20 3d 20 41 69 | 72 43 6f 6e 74 72 6f 6c |rol = Ai|rControl|
|00003350| 3b 0d 0a 09 09 69 66 20 | 28 20 4c 65 66 74 28 4e |;....if |( Left(N|
|00003360| 65 77 50 6c 61 79 65 72 | 2e 50 6c 61 79 65 72 52 |ewPlayer|.PlayerR|
|00003370| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 50 |eplicati|onInfo.P|
|00003380| 6c 61 79 65 72 4e 61 6d | 65 2c 20 36 29 20 3d 3d |layerNam|e, 6) ==|
|00003390| 20 44 65 66 61 75 6c 74 | 50 6c 61 79 65 72 4e 61 | Default|PlayerNa|
|000033a0| 6d 65 20 29 0d 0a 09 09 | 09 43 68 61 6e 67 65 4e |me )....|.ChangeN|
|000033b0| 61 6d 65 28 20 4e 65 77 | 50 6c 61 79 65 72 2c 20 |ame( New|Player, |
|000033c0| 28 44 65 66 61 75 6c 74 | 50 6c 61 79 65 72 4e 61 |(Default|PlayerNa|
|000033d0| 6d 65 24 4e 75 6d 50 6c | 61 79 65 72 73 29 2c 20 |me$NumPl|ayers), |
|000033e0| 66 61 6c 73 65 20 29 3b | 0d 0a 09 09 4e 65 77 50 |false );|....NewP|
|000033f0| 6c 61 79 65 72 2e 62 41 | 75 74 6f 41 63 74 69 76 |layer.bA|utoActiv|
|00003400| 61 74 65 20 3d 20 74 72 | 75 65 3b 0d 0a 09 09 69 |ate = tr|ue;....i|
|00003410| 66 20 28 20 28 62 47 61 | 6d 65 45 6e 64 65 64 20 |f ( (bGa|meEnded |
|00003420| 7c 7c 20 28 62 52 65 71 | 75 69 72 65 52 65 61 64 ||| (bReq|uireRead|
|00003430| 79 20 26 26 20 28 43 6f | 75 6e 74 44 6f 77 6e 20 |y && (Co|untDown |
|00003440| 3e 20 30 29 29 29 20 26 | 26 20 21 4e 65 77 50 6c |> 0))) &|& !NewPl|
|00003450| 61 79 65 72 2e 49 73 41 | 28 27 53 70 65 63 74 61 |ayer.IsA|('Specta|
|00003460| 74 6f 72 27 29 20 29 0d | 0a 09 09 09 4e 65 77 50 |tor') ).|....NewP|
|00003470| 6c 61 79 65 72 2e 50 6c | 61 79 65 72 52 65 73 74 |layer.Pl|ayerRest|
|00003480| 61 72 74 53 74 61 74 65 | 20 3d 20 27 50 6c 61 79 |artState| = 'Play|
|00003490| 65 72 57 61 69 74 69 6e | 67 27 3b 0d 0a 09 09 65 |erWaitin|g';....e|
|000034a0| 6c 73 65 0d 0a 09 09 09 | 4e 65 77 50 6c 61 79 65 |lse.....|NewPlaye|
|000034b0| 72 2e 50 6c 61 79 65 72 | 52 65 73 74 61 72 74 53 |r.Player|RestartS|
|000034c0| 74 61 74 65 20 3d 20 4e | 65 77 50 6c 61 79 65 72 |tate = N|ewPlayer|
|000034d0| 2e 44 65 66 61 75 6c 74 | 2e 50 6c 61 79 65 72 52 |.Default|.PlayerR|
|000034e0| 65 73 74 61 72 74 53 74 | 61 74 65 3b 0d 0a 0d 0a |estartSt|ate;....|
|000034f0| 09 09 69 66 20 28 20 4e | 65 77 50 6c 61 79 65 72 |..if ( N|ewPlayer|
|00003500| 2e 49 73 41 28 27 54 6f | 75 72 6e 61 6d 65 6e 74 |.IsA('To|urnament|
|00003510| 50 6c 61 79 65 72 27 29 | 20 29 0d 0a 09 09 7b 0d |Player')| )....{.|
|00003520| 0a 09 09 09 54 6f 75 72 | 6e 61 6d 65 6e 74 50 6c |....Tour|namentPl|
|00003530| 61 79 65 72 28 4e 65 77 | 50 6c 61 79 65 72 29 2e |ayer(New|Player).|
|00003540| 53 74 61 72 74 53 70 6f | 74 20 3d 20 4c 61 73 74 |StartSpo|t = Last|
|00003550| 53 74 61 72 74 53 70 6f | 74 3b 0d 0a 09 09 09 69 |StartSpo|t;.....i|
|00003560| 66 20 28 20 4e 65 77 50 | 6c 61 79 65 72 2e 49 73 |f ( NewP|layer.Is|
|00003570| 41 28 27 43 6f 6d 6d 61 | 6e 64 65 72 27 29 20 29 |A('Comma|nder') )|
|00003580| 0d 0a 09 09 09 09 4e 75 | 6d 43 6f 6d 6d 61 6e 64 |......Nu|mCommand|
|00003590| 65 72 73 2b 2b 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |ers++;..|..}...}.|
|000035a0| 0a 09 72 65 74 75 72 6e | 20 4e 65 77 50 6c 61 79 |..return| NewPlay|
|000035b0| 65 72 3b 0d 0a 7d 0d 0a | 0d 0a 65 76 65 6e 74 20 |er;..}..|..event |
|000035c0| 50 6f 73 74 4c 6f 67 69 | 6e 28 20 70 6c 61 79 65 |PostLogi|n( playe|
|000035d0| 72 70 61 77 6e 20 4e 65 | 77 50 6c 61 79 65 72 20 |rpawn Ne|wPlayer |
|000035e0| 29 0d 0a 7b 0d 0a 09 53 | 75 70 65 72 2e 50 6f 73 |)..{...S|uper.Pos|
|000035f0| 74 4c 6f 67 69 6e 28 4e | 65 77 50 6c 61 79 65 72 |tLogin(N|ewPlayer|
|00003600| 29 3b 0d 0a 09 69 66 20 | 28 20 4c 65 76 65 6c 2e |);...if |( Level.|
|00003610| 4e 65 74 4d 6f 64 65 20 | 3d 3d 20 4e 4d 5f 53 74 |NetMode |== NM_St|
|00003620| 61 6e 64 61 6c 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a |andalone| )...{..|
|00003630| 09 09 77 68 69 6c 65 20 | 28 20 28 52 65 6d 61 69 |..while |( (Remai|
|00003640| 6e 69 6e 67 42 6f 74 73 | 20 3e 20 30 29 20 26 26 |ningBots| > 0) &&|
|00003650| 20 41 64 64 42 6f 74 28 | 29 20 29 0d 0a 09 09 09 | AddBot(|) ).....|
|00003660| 52 65 6d 61 69 6e 69 6e | 67 42 6f 74 73 2d 2d 3b |Remainin|gBots--;|
|00003670| 0d 0a 09 7d 0d 0a 09 65 | 6c 73 65 0d 0a 09 09 52 |...}...e|lse....R|
|00003680| 65 6d 61 69 6e 69 6e 67 | 42 6f 74 73 20 3d 20 30 |emaining|Bots = 0|
|00003690| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 21 62 52 61 74 |;.....if| ( !bRat|
|000036a0| 65 64 47 61 6d 65 20 29 | 0d 0a 09 7b 0d 0a 09 09 |edGame )|...{....|
|000036b0| 50 6c 61 79 53 74 61 72 | 74 55 70 4d 65 73 73 61 |PlayStar|tUpMessa|
|000036c0| 67 65 28 4e 65 77 50 6c | 61 79 65 72 29 3b 0d 0a |ge(NewPl|ayer);..|
|000036d0| 09 09 4e 65 77 50 6c 61 | 79 65 72 2e 53 65 74 50 |..NewPla|yer.SetP|
|000036e0| 72 6f 67 72 65 73 73 54 | 69 6d 65 28 36 29 3b 0d |rogressT|ime(6);.|
|000036f0| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |..}..}..|..functi|
|00003700| 6f 6e 20 69 6e 74 20 52 | 65 64 75 63 65 44 61 6d |on int R|educeDam|
|00003710| 61 67 65 28 69 6e 74 20 | 44 61 6d 61 67 65 2c 20 |age(int |Damage, |
|00003720| 6e 61 6d 65 20 44 61 6d | 61 67 65 54 79 70 65 2c |name Dam|ageType,|
|00003730| 20 70 61 77 6e 20 69 6e | 6a 75 72 65 64 2c 20 70 | pawn in|jured, p|
|00003740| 61 77 6e 20 69 6e 73 74 | 69 67 61 74 65 64 42 79 |awn inst|igatedBy|
|00003750| 29 0d 0a 7b 0d 0a 09 69 | 66 20 28 69 6e 6a 75 72 |)..{...i|f (injur|
|00003760| 65 64 2e 52 65 67 69 6f | 6e 2e 5a 6f 6e 65 2e 62 |ed.Regio|n.Zone.b|
|00003770| 4e 65 75 74 72 61 6c 5a | 6f 6e 65 29 0d 0a 09 09 |NeutralZ|one)....|
|00003780| 72 65 74 75 72 6e 20 30 | 3b 0d 0a 0d 0a 09 69 66 |return 0|;.....if|
|00003790| 20 28 20 69 6e 73 74 69 | 67 61 74 65 64 42 79 20 | ( insti|gatedBy |
|000037a0| 3d 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 72 65 74 75 |== None)|....retu|
|000037b0| 72 6e 20 44 61 6d 61 67 | 65 3b 0d 0a 0d 0a 09 69 |rn Damag|e;.....i|
|000037c0| 66 20 28 20 62 48 61 72 | 64 43 6f 72 65 4d 6f 64 |f ( bHar|dCoreMod|
|000037d0| 65 20 29 0d 0a 09 09 44 | 61 6d 61 67 65 20 2a 3d |e )....D|amage *=|
|000037e0| 20 31 2e 35 3b 0d 0a 09 | 69 66 20 28 20 62 4e 6f | 1.5;...|if ( bNo|
|000037f0| 76 69 63 65 4d 6f 64 65 | 20 26 26 20 21 62 54 68 |viceMode| && !bTh|
|00003800| 72 65 65 50 6c 75 73 20 | 29 0d 0a 09 7b 0d 0a 09 |reePlus |)...{...|
|00003810| 09 69 66 20 28 20 69 6e | 73 74 69 67 61 74 65 64 |.if ( in|stigated|
|00003820| 42 79 2e 62 49 73 50 6c | 61 79 65 72 20 26 26 20 |By.bIsPl|ayer && |
|00003830| 28 69 6e 6a 75 72 65 64 | 20 3d 3d 20 69 6e 73 74 |(injured| == inst|
|00003840| 69 67 61 74 65 64 62 79 | 29 20 26 26 20 28 4c 65 |igatedby|) && (Le|
|00003850| 76 65 6c 2e 4e 65 74 4d | 6f 64 65 20 3d 3d 20 4e |vel.NetM|ode == N|
|00003860| 4d 5f 53 74 61 6e 64 61 | 6c 6f 6e 65 29 20 29 0d |M_Standa|lone) ).|
|00003870| 0a 09 09 09 44 61 6d 61 | 67 65 20 2a 3d 20 30 2e |....Dama|ge *= 0.|
|00003880| 35 3b 0d 0a 0d 0a 09 09 | 2f 2f 73 6b 69 6c 6c 20 |5;......|//skill |
|00003890| 6c 65 76 65 6c 20 6d 6f | 64 69 66 69 63 61 74 69 |level mo|dificati|
|000038a0| 6f 6e 0d 0a 09 09 69 66 | 20 28 20 69 6e 73 74 69 |on....if| ( insti|
|000038b0| 67 61 74 65 64 42 79 2e | 49 73 41 28 27 42 6f 74 |gatedBy.|IsA('Bot|
|000038c0| 27 29 20 26 26 20 69 6e | 6a 75 72 65 64 2e 49 73 |') && in|jured.Is|
|000038d0| 41 28 27 50 6c 61 79 65 | 72 50 61 77 6e 27 29 20 |A('Playe|rPawn') |
|000038e0| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 69 66 20 28 20 |)....{..|...if ( |
|000038f0| 28 28 69 6e 73 74 69 67 | 61 74 65 64 42 79 2e 57 |((instig|atedBy.W|
|00003900| 65 61 70 6f 6e 20 21 3d | 20 4e 6f 6e 65 29 20 26 |eapon !=| None) &|
|00003910| 26 20 69 6e 73 74 69 67 | 61 74 65 64 42 79 2e 57 |& instig|atedBy.W|
|00003920| 65 61 70 6f 6e 2e 62 4d | 65 6c 65 65 57 65 61 70 |eapon.bM|eleeWeap|
|00003930| 6f 6e 29 20 0d 0a 09 09 | 09 09 7c 7c 20 28 28 69 |on) ....|..|| ((i|
|00003940| 6e 6a 75 72 65 64 2e 57 | 65 61 70 6f 6e 20 21 3d |njured.W|eapon !=|
|00003950| 20 4e 6f 6e 65 29 20 26 | 26 20 69 6e 6a 75 72 65 | None) &|& injure|
|00003960| 64 2e 57 65 61 70 6f 6e | 2e 62 4d 65 6c 65 65 57 |d.Weapon|.bMeleeW|
|00003970| 65 61 70 6f 6e 20 26 26 | 20 28 56 53 69 7a 65 28 |eapon &&| (VSize(|
|00003980| 69 6e 6a 75 72 65 64 2e | 6c 6f 63 61 74 69 6f 6e |injured.|location|
|00003990| 20 2d 20 69 6e 73 74 69 | 67 61 74 65 64 42 79 2e | - insti|gatedBy.|
|000039a0| 4c 6f 63 61 74 69 6f 6e | 29 20 3c 20 36 30 30 29 |Location|) < 600)|
|000039b0| 29 20 29 0d 0a 09 09 09 | 09 44 61 6d 61 67 65 20 |) ).....|.Damage |
|000039c0| 3d 20 44 61 6d 61 67 65 | 20 2a 20 28 30 2e 37 36 |= Damage| * (0.76|
|000039d0| 20 2b 20 30 2e 30 38 20 | 2a 20 69 6e 73 74 69 67 | + 0.08 |* instig|
|000039e0| 61 74 65 64 42 79 2e 73 | 6b 69 6c 6c 29 3b 0d 0a |atedBy.s|kill);..|
|000039f0| 09 09 09 65 6c 73 65 0d | 0a 09 09 09 09 44 61 6d |...else.|.....Dam|
|00003a00| 61 67 65 20 3d 20 44 61 | 6d 61 67 65 20 2a 20 28 |age = Da|mage * (|
|00003a10| 30 2e 32 35 20 2b 20 30 | 2e 31 35 20 2a 20 69 6e |0.25 + 0|.15 * in|
|00003a20| 73 74 69 67 61 74 65 64 | 42 79 2e 73 6b 69 6c 6c |stigated|By.skill|
|00003a30| 29 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 09 72 65 |);....}.|..}...re|
|00003a40| 74 75 72 6e 20 28 44 61 | 6d 61 67 65 20 2a 20 69 |turn (Da|mage * i|
|00003a50| 6e 73 74 69 67 61 74 65 | 64 42 79 2e 44 61 6d 61 |nstigate|dBy.Dama|
|00003a60| 67 65 53 63 61 6c 69 6e | 67 29 3b 0d 0a 7d 0d 0a |geScalin|g);..}..|
|00003a70| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 74 61 72 74 |..functi|on Start|
|00003a80| 4d 61 74 63 68 28 29 0d | 0a 7b 09 0d 0a 09 6c 6f |Match().|.{....lo|
|00003a90| 63 61 6c 20 50 61 77 6e | 20 50 3b 0d 0a 09 6c 6f |cal Pawn| P;...lo|
|00003aa0| 63 61 6c 20 54 69 6d 65 | 64 54 72 69 67 67 65 72 |cal Time|dTrigger|
|00003ab0| 20 54 3b 0d 0a 0d 0a 09 | 69 66 20 28 4c 6f 63 61 | T;.....|if (Loca|
|00003ac0| 6c 4c 6f 67 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |lLog != |None)...|
|00003ad0| 09 4c 6f 63 61 6c 4c 6f | 67 2e 4c 6f 67 47 61 6d |.LocalLo|g.LogGam|
|00003ae0| 65 53 74 61 72 74 28 29 | 3b 0d 0a 09 69 66 20 28 |eStart()|;...if (|
|00003af0| 57 6f 72 6c 64 4c 6f 67 | 20 21 3d 20 4e 6f 6e 65 |WorldLog| != None|
|00003b00| 29 0d 0a 09 09 57 6f 72 | 6c 64 4c 6f 67 2e 4c 6f |)....Wor|ldLog.Lo|
|00003b10| 67 47 61 6d 65 53 74 61 | 72 74 28 29 3b 0d 0a 0d |gGameSta|rt();...|
|00003b20| 0a 09 46 6f 72 45 61 63 | 68 20 41 6c 6c 41 63 74 |..ForEac|h AllAct|
|00003b30| 6f 72 73 28 63 6c 61 73 | 73 27 54 69 6d 65 64 54 |ors(clas|s'TimedT|
|00003b40| 72 69 67 67 65 72 27 2c | 20 54 29 0d 0a 09 09 54 |rigger',| T)....T|
|00003b50| 2e 53 65 74 54 69 6d 65 | 72 28 54 2e 44 65 6c 61 |.SetTime|r(T.Dela|
|00003b60| 79 53 65 63 6f 6e 64 73 | 2c 20 54 2e 62 52 65 70 |ySeconds|, T.bRep|
|00003b70| 65 61 74 69 6e 67 29 3b | 0d 0a 09 69 66 20 28 20 |eating);|...if ( |
|00003b80| 4c 65 76 65 6c 2e 4e 65 | 74 4d 6f 64 65 20 21 3d |Level.Ne|tMode !=|
|00003b90| 20 4e 4d 5f 53 74 61 6e | 64 61 6c 6f 6e 65 20 29 | NM_Stan|dalone )|
|00003ba0| 0d 0a 09 09 52 65 6d 61 | 69 6e 69 6e 67 42 6f 74 |....Rema|iningBot|
|00003bb0| 73 20 3d 20 30 3b 0d 0a | 09 47 61 6d 65 52 65 70 |s = 0;..|.GameRep|
|00003bc0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 52 65 6d |lication|Info.Rem|
|00003bd0| 61 69 6e 69 6e 67 4d 69 | 6e 75 74 65 20 3d 20 52 |ainingMi|nute = R|
|00003be0| 65 6d 61 69 6e 69 6e 67 | 54 69 6d 65 3b 0d 0a 09 |emaining|Time;...|
|00003bf0| 62 53 74 61 72 74 4d 61 | 74 63 68 20 3d 20 74 72 |bStartMa|tch = tr|
|00003c00| 75 65 3b 0d 0a 0d 0a 09 | 2f 2f 20 73 74 61 72 74 |ue;.....|// start|
|00003c10| 20 70 6c 61 79 65 72 73 | 20 66 69 72 73 74 20 28 | players| first (|
|00003c20| 69 6e 20 74 68 65 69 72 | 20 63 75 72 72 65 6e 74 |in their| current|
|00003c30| 20 73 74 61 72 74 73 70 | 6f 74 73 29 0d 0a 09 66 | startsp|ots)...f|
|00003c40| 6f 72 20 28 20 50 20 3d | 20 4c 65 76 65 6c 2e 50 |or ( P =| Level.P|
|00003c50| 61 77 6e 4c 69 73 74 3b | 20 50 21 3d 4e 6f 6e 65 |awnList;| P!=None|
|00003c60| 3b 20 50 3d 50 2e 6e 65 | 78 74 50 61 77 6e 20 29 |; P=P.ne|xtPawn )|
|00003c70| 0d 0a 09 09 69 66 20 28 | 20 50 2e 62 49 73 50 6c |....if (| P.bIsPl|
|00003c80| 61 79 65 72 20 26 26 20 | 50 2e 49 73 41 28 27 50 |ayer && |P.IsA('P|
|00003c90| 6c 61 79 65 72 50 61 77 | 6e 27 29 20 29 0d 0a 09 |layerPaw|n') )...|
|00003ca0| 09 7b 0d 0a 09 09 09 69 | 66 20 28 20 62 47 61 6d |.{.....i|f ( bGam|
|00003cb0| 65 45 6e 64 65 64 20 29 | 20 72 65 74 75 72 6e 3b |eEnded )| return;|
|00003cc0| 20 2f 2f 20 74 65 6c 65 | 66 72 61 67 20 65 6e 64 | // tele|frag end|
|00003cd0| 65 64 20 74 68 65 20 67 | 61 6d 65 20 77 69 74 68 |ed the g|ame with|
|00003ce0| 20 72 69 64 69 63 75 6c | 6f 75 73 20 66 72 61 67 | ridicul|ous frag|
|00003cf0| 20 6c 69 6d 69 74 0d 0a | 09 09 09 65 6c 73 65 20 | limit..|...else |
|00003d00| 69 66 20 28 20 21 50 2e | 49 73 41 28 27 53 70 65 |if ( !P.|IsA('Spe|
|00003d10| 63 74 61 74 6f 72 27 29 | 20 20 29 0d 0a 09 09 09 |ctator')| ).....|
|00003d20| 7b 0d 0a 09 09 09 09 50 | 2e 50 6c 61 79 65 72 52 |{......P|.PlayerR|
|00003d30| 65 73 74 61 72 74 53 74 | 61 74 65 20 3d 20 50 2e |estartSt|ate = P.|
|00003d40| 44 65 66 61 75 6c 74 2e | 50 6c 61 79 65 72 52 65 |Default.|PlayerRe|
|00003d50| 73 74 61 72 74 53 74 61 | 74 65 3b 0d 0a 09 09 09 |startSta|te;.....|
|00003d60| 09 50 2e 47 6f 74 6f 53 | 74 61 74 65 28 50 2e 44 |.P.GotoS|tate(P.D|
|00003d70| 65 66 61 75 6c 74 2e 50 | 6c 61 79 65 72 52 65 73 |efault.P|layerRes|
|00003d80| 74 61 72 74 53 74 61 74 | 65 29 3b 0d 0a 09 09 09 |tartStat|e);.....|
|00003d90| 09 69 66 20 28 20 21 50 | 2e 49 73 41 28 27 43 6f |.if ( !P|.IsA('Co|
|00003da0| 6d 6d 61 6e 64 65 72 27 | 29 20 29 0d 0a 09 09 09 |mmander'|) ).....|
|00003db0| 09 09 52 65 73 74 61 72 | 74 50 6c 61 79 65 72 28 |..Restar|tPlayer(|
|00003dc0| 50 29 3b 0d 0a 09 09 09 | 7d 0d 0a 09 09 09 53 65 |P);.....|}.....Se|
|00003dd0| 6e 64 53 74 61 72 74 4d | 65 73 73 61 67 65 28 50 |ndStartM|essage(P|
|00003de0| 6c 61 79 65 72 50 61 77 | 6e 28 50 29 29 3b 0d 0a |layerPaw|n(P));..|
|00003df0| 09 09 7d 0d 0a 0d 0a 0d | 0a 09 66 6f 72 20 28 20 |..}.....|..for ( |
|00003e00| 50 20 3d 20 4c 65 76 65 | 6c 2e 50 61 77 6e 4c 69 |P = Leve|l.PawnLi|
|00003e10| 73 74 3b 20 50 21 3d 4e | 6f 6e 65 3b 20 50 3d 50 |st; P!=N|one; P=P|
|00003e20| 2e 6e 65 78 74 50 61 77 | 6e 20 29 0d 0a 09 09 69 |.nextPaw|n )....i|
|00003e30| 66 20 28 20 50 2e 62 49 | 73 50 6c 61 79 65 72 20 |f ( P.bI|sPlayer |
|00003e40| 26 26 20 21 50 2e 49 73 | 41 28 27 50 6c 61 79 65 |&& !P.Is|A('Playe|
|00003e50| 72 50 61 77 6e 27 29 20 | 29 0d 0a 09 09 7b 0d 0a |rPawn') |)....{..|
|00003e60| 09 09 09 50 2e 52 65 73 | 74 61 72 74 50 6c 61 79 |...P.Res|tartPlay|
|00003e70| 65 72 28 29 3b 0d 0a 09 | 09 09 69 66 20 28 20 50 |er();...|..if ( P|
|00003e80| 2e 49 73 41 28 27 42 6f | 74 27 29 20 29 0d 0a 09 |.IsA('Bo|t') )...|
|00003e90| 09 09 09 42 6f 74 28 50 | 29 2e 53 74 61 72 74 4d |...Bot(P|).StartM|
|00003ea0| 61 74 63 68 28 29 3b 0d | 0a 09 09 7d 0d 0a 09 62 |atch();.|...}...b|
|00003eb0| 53 74 61 72 74 4d 61 74 | 63 68 20 3d 20 66 61 6c |StartMat|ch = fal|
|00003ec0| 73 65 3b 0d 0a 7d 0d 0a | 0d 0a 0d 0a 66 75 6e 63 |se;..}..|....func|
|00003ed0| 74 69 6f 6e 20 54 69 6d | 65 72 28 29 0d 0a 7b 0d |tion Tim|er()..{.|
|00003ee0| 0a 09 6c 6f 63 61 6c 20 | 50 61 77 6e 20 50 3b 0d |..local |Pawn P;.|
|00003ef0| 0a 09 6c 6f 63 61 6c 20 | 62 6f 6f 6c 20 62 52 65 |..local |bool bRe|
|00003f00| 61 64 79 3b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |ady;...l|ocal int|
|00003f10| 20 4d 3b 0d 0a 0d 0a 09 | 53 75 70 65 72 2e 54 69 | M;.....|Super.Ti|
|00003f20| 6d 65 72 28 29 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |mer();..|...if ( |
|00003f30| 62 4e 65 74 52 65 61 64 | 79 20 29 0d 0a 09 7b 0d |bNetRead|y )...{.|
|00003f40| 0a 09 09 69 66 20 28 20 | 4e 75 6d 50 6c 61 79 65 |...if ( |NumPlaye|
|00003f50| 72 73 20 3e 20 30 20 29 | 0d 0a 09 09 09 45 6c 61 |rs > 0 )|.....Ela|
|00003f60| 70 73 65 64 54 69 6d 65 | 2b 2b 3b 0d 0a 09 09 65 |psedTime|++;....e|
|00003f70| 6c 73 65 0d 0a 09 09 09 | 45 6c 61 70 73 65 64 54 |lse.....|ElapsedT|
|00003f80| 69 6d 65 20 3d 20 30 3b | 0d 0a 09 09 69 66 20 28 |ime = 0;|....if (|
|00003f90| 20 45 6c 61 70 73 65 64 | 54 69 6d 65 20 3e 20 4e | Elapsed|Time > N|
|00003fa0| 65 74 57 61 69 74 20 29 | 0d 0a 09 09 7b 0d 0a 09 |etWait )|....{...|
|00003fb0| 09 09 69 66 20 28 20 28 | 4e 75 6d 50 6c 61 79 65 |..if ( (|NumPlaye|
|00003fc0| 72 73 20 2b 20 4e 75 6d | 42 6f 74 73 20 3c 20 34 |rs + Num|Bots < 4|
|00003fd0| 29 20 26 26 20 4e 65 65 | 64 50 6c 61 79 65 72 73 |) && Nee|dPlayers|
|00003fe0| 28 29 20 29 0d 0a 09 09 | 09 09 41 64 64 42 6f 74 |() )....|..AddBot|
|00003ff0| 28 29 3b 0d 0a 09 09 09 | 65 6c 73 65 20 69 66 20 |();.....|else if |
|00004000| 28 20 4e 75 6d 50 6c 61 | 79 65 72 73 20 2b 20 4e |( NumPla|yers + N|
|00004010| 75 6d 42 6f 74 73 20 3e | 20 31 20 29 0d 0a 09 09 |umBots >| 1 )....|
|00004020| 09 09 62 4e 65 74 52 65 | 61 64 79 20 3d 20 66 61 |..bNetRe|ady = fa|
|00004030| 6c 73 65 3b 0d 0a 09 09 | 7d 0d 0a 0d 0a 09 09 69 |lse;....|}......i|
|00004040| 66 20 28 20 62 4e 65 74 | 52 65 61 64 79 20 29 0d |f ( bNet|Ready ).|
|00004050| 0a 09 09 7b 0d 0a 09 09 | 09 66 6f 72 20 28 50 3d |...{....|.for (P=|
|00004060| 4c 65 76 65 6c 2e 50 61 | 77 6e 4c 69 73 74 3b 20 |Level.Pa|wnList; |
|00004070| 50 21 3d 4e 6f 6e 65 3b | 20 50 3d 50 2e 4e 65 78 |P!=None;| P=P.Nex|
|00004080| 74 50 61 77 6e 20 29 0d | 0a 09 09 09 09 69 66 20 |tPawn ).|.....if |
|00004090| 28 20 50 2e 49 73 41 28 | 27 50 6c 61 79 65 72 50 |( P.IsA(|'PlayerP|
|000040a0| 61 77 6e 27 29 20 29 0d | 0a 09 09 09 09 09 50 6c |awn') ).|......Pl|
|000040b0| 61 79 65 72 50 61 77 6e | 28 50 29 2e 53 65 74 50 |ayerPawn|(P).SetP|
|000040c0| 72 6f 67 72 65 73 73 54 | 69 6d 65 28 32 29 3b 0d |rogressT|ime(2);.|
|000040d0| 0a 09 09 09 72 65 74 75 | 72 6e 3b 0d 0a 09 09 7d |....retu|rn;....}|
|000040e0| 0d 0a 09 09 65 6c 73 65 | 0d 0a 09 09 7b 0d 0a 09 |....else|....{...|
|000040f0| 09 09 77 68 69 6c 65 20 | 28 20 4e 65 65 64 50 6c |..while |( NeedPl|
|00004100| 61 79 65 72 73 28 29 20 | 29 0d 0a 09 09 09 09 41 |ayers() |)......A|
|00004110| 64 64 42 6f 74 28 29 3b | 0d 0a 09 09 09 62 52 65 |ddBot();|.....bRe|
|00004120| 71 75 69 72 65 52 65 61 | 64 79 20 3d 20 66 61 6c |quireRea|dy = fal|
|00004130| 73 65 3b 0d 0a 09 09 09 | 53 74 61 72 74 4d 61 74 |se;.....|StartMat|
|00004140| 63 68 28 29 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |ch();...|.}...}..|
|00004150| 0d 0a 09 69 66 20 28 20 | 62 52 65 71 75 69 72 65 |...if ( |bRequire|
|00004160| 52 65 61 64 79 20 26 26 | 20 28 43 6f 75 6e 74 44 |Ready &&| (CountD|
|00004170| 6f 77 6e 20 3e 20 30 29 | 20 29 0d 0a 09 7b 0d 0a |own > 0)| )...{..|
|00004180| 09 09 77 68 69 6c 65 20 | 28 20 28 52 65 6d 61 69 |..while |( (Remai|
|00004190| 6e 69 6e 67 42 6f 74 73 | 20 3e 20 30 29 20 26 26 |ningBots| > 0) &&|
|000041a0| 20 41 64 64 42 6f 74 28 | 29 20 29 0d 0a 09 09 09 | AddBot(|) ).....|
|000041b0| 52 65 6d 61 69 6e 69 6e | 67 42 6f 74 73 2d 2d 3b |Remainin|gBots--;|
|000041c0| 0d 0a 09 09 66 6f 72 20 | 28 50 3d 4c 65 76 65 6c |....for |(P=Level|
|000041d0| 2e 50 61 77 6e 4c 69 73 | 74 3b 20 50 21 3d 4e 6f |.PawnLis|t; P!=No|
|000041e0| 6e 65 3b 20 50 3d 50 2e | 4e 65 78 74 50 61 77 6e |ne; P=P.|NextPawn|
|000041f0| 20 29 0d 0a 09 09 09 69 | 66 20 28 20 50 2e 49 73 | ).....i|f ( P.Is|
|00004200| 41 28 27 50 6c 61 79 65 | 72 50 61 77 6e 27 29 20 |A('Playe|rPawn') |
|00004210| 29 0d 0a 09 09 09 09 50 | 6c 61 79 65 72 50 61 77 |)......P|layerPaw|
|00004220| 6e 28 50 29 2e 53 65 74 | 50 72 6f 67 72 65 73 73 |n(P).Set|Progress|
|00004230| 54 69 6d 65 28 32 29 3b | 0d 0a 09 09 69 66 20 28 |Time(2);|....if (|
|00004240| 20 28 28 4e 75 6d 50 6c | 61 79 65 72 73 20 3d 3d | ((NumPl|ayers ==|
|00004250| 20 4d 61 78 50 6c 61 79 | 65 72 73 29 20 7c 7c 20 | MaxPlay|ers) || |
|00004260| 28 4c 65 76 65 6c 2e 4e | 65 74 4d 6f 64 65 20 3d |(Level.N|etMode =|
|00004270| 3d 20 4e 4d 5f 53 74 61 | 6e 64 61 6c 6f 6e 65 29 |= NM_Sta|ndalone)|
|00004280| 29 20 0d 0a 09 09 09 09 | 26 26 20 28 52 65 6d 61 |) ......|&& (Rema|
|00004290| 69 6e 69 6e 67 42 6f 74 | 73 20 3c 3d 20 30 29 20 |iningBot|s <= 0) |
|000042a0| 29 0d 0a 09 09 7b 09 0d | 0a 09 09 09 62 52 65 61 |)....{..|....bRea|
|000042b0| 64 79 20 3d 20 74 72 75 | 65 3b 0d 0a 09 09 09 66 |dy = tru|e;.....f|
|000042c0| 6f 72 20 28 50 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |or (P=Le|vel.Pawn|
|000042d0| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|000042e0| 3d 50 2e 4e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.NextP|awn )...|
|000042f0| 09 09 09 69 66 20 28 20 | 50 2e 49 73 41 28 27 50 |...if ( |P.IsA('P|
|00004300| 6c 61 79 65 72 50 61 77 | 6e 27 29 20 26 26 20 21 |layerPaw|n') && !|
|00004310| 50 2e 49 73 41 28 27 53 | 70 65 63 74 61 74 6f 72 |P.IsA('S|pectator|
|00004320| 27 29 0d 0a 09 09 09 09 | 09 26 26 20 21 50 6c 61 |')......|.&& !Pla|
|00004330| 79 65 72 50 61 77 6e 28 | 50 29 2e 62 52 65 61 64 |yerPawn(|P).bRead|
|00004340| 79 54 6f 50 6c 61 79 20 | 29 0d 0a 09 09 09 09 09 |yToPlay |).......|
|00004350| 62 52 65 61 64 79 20 3d | 20 66 61 6c 73 65 3b 0d |bReady =| false;.|
|00004360| 0a 09 09 09 0d 0a 09 09 | 09 69 66 20 28 20 62 52 |........|.if ( bR|
|00004370| 65 61 64 79 20 29 0d 0a | 09 09 09 7b 09 0d 0a 09 |eady )..|...{....|
|00004380| 09 09 09 53 74 61 72 74 | 43 6f 75 6e 74 20 3d 20 |...Start|Count = |
|00004390| 33 30 3b 0d 0a 09 09 09 | 09 43 6f 75 6e 74 44 6f |30;.....|.CountDo|
|000043a0| 77 6e 2d 2d 3b 0d 0a 09 | 09 09 09 69 66 20 28 20 |wn--;...|...if ( |
|000043b0| 43 6f 75 6e 74 44 6f 77 | 6e 20 3c 3d 20 30 20 29 |CountDow|n <= 0 )|
|000043c0| 0d 0a 09 09 09 09 09 53 | 74 61 72 74 4d 61 74 63 |.......S|tartMatc|
|000043d0| 68 28 29 3b 0d 0a 09 09 | 09 09 65 6c 73 65 0d 0a |h();....|..else..|
|000043e0| 09 09 09 09 7b 0d 0a 09 | 09 09 09 09 66 6f 72 20 |....{...|....for |
|000043f0| 28 20 50 20 3d 20 4c 65 | 76 65 6c 2e 50 61 77 6e |( P = Le|vel.Pawn|
|00004400| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00004410| 3d 50 2e 6e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.nextP|awn )...|
|00004420| 09 09 09 09 09 69 66 20 | 28 20 50 2e 49 73 41 28 |.....if |( P.IsA(|
|00004430| 27 50 6c 61 79 65 72 50 | 61 77 6e 27 29 20 29 0d |'PlayerP|awn') ).|
|00004440| 0a 09 09 09 09 09 09 7b | 0d 0a 09 09 09 09 09 09 |.......{|........|
|00004450| 09 50 6c 61 79 65 72 50 | 61 77 6e 28 50 29 2e 43 |.PlayerP|awn(P).C|
|00004460| 6c 65 61 72 50 72 6f 67 | 72 65 73 73 4d 65 73 73 |learProg|ressMess|
|00004470| 61 67 65 73 28 29 3b 0d | 0a 09 09 09 09 09 09 09 |ages();.|........|
|00004480| 69 66 20 28 20 28 43 6f | 75 6e 74 44 6f 77 6e 20 |if ( (Co|untDown |
|00004490| 3c 20 31 31 29 20 26 26 | 20 50 2e 49 73 41 28 27 |< 11) &&| P.IsA('|
|000044a0| 54 6f 75 72 6e 61 6d 65 | 6e 74 50 6c 61 79 65 72 |Tourname|ntPlayer|
|000044b0| 27 29 20 29 0d 0a 09 09 | 09 09 09 09 09 09 54 6f |') )....|......To|
|000044c0| 75 72 6e 61 6d 65 6e 74 | 50 6c 61 79 65 72 28 50 |urnament|Player(P|
|000044d0| 29 2e 54 69 6d 65 4d 65 | 73 73 61 67 65 28 43 6f |).TimeMe|ssage(Co|
|000044e0| 75 6e 74 44 6f 77 6e 29 | 3b 0d 0a 09 09 09 09 09 |untDown)|;.......|
|000044f0| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 09 09 09 09 |..else..|........|
|00004500| 50 6c 61 79 65 72 50 61 | 77 6e 28 50 29 2e 53 65 |PlayerPa|wn(P).Se|
|00004510| 74 50 72 6f 67 72 65 73 | 73 4d 65 73 73 61 67 65 |tProgres|sMessage|
|00004520| 28 43 6f 75 6e 74 44 6f | 77 6e 24 43 6f 75 6e 74 |(CountDo|wn$Count|
|00004530| 44 6f 77 6e 4d 65 73 73 | 61 67 65 2c 20 30 29 3b |DownMess|age, 0);|
|00004540| 0d 0a 09 09 09 09 09 09 | 7d 0d 0a 09 09 09 09 7d |........|}......}|
|00004550| 0d 0a 09 09 09 7d 0d 0a | 09 09 09 65 6c 73 65 20 |.....}..|...else |
|00004560| 69 66 20 28 20 53 74 61 | 72 74 43 6f 75 6e 74 20 |if ( Sta|rtCount |
|00004570| 3e 20 38 20 29 20 0d 0a | 09 09 09 7b 0d 0a 09 09 |> 8 ) ..|...{....|
|00004580| 09 09 66 6f 72 20 28 20 | 50 20 3d 20 4c 65 76 65 |..for ( |P = Leve|
|00004590| 6c 2e 50 61 77 6e 4c 69 | 73 74 3b 20 50 21 3d 4e |l.PawnLi|st; P!=N|
|000045a0| 6f 6e 65 3b 20 50 3d 50 | 2e 6e 65 78 74 50 61 77 |one; P=P|.nextPaw|
|000045b0| 6e 20 29 0d 0a 09 09 09 | 09 09 69 66 20 28 20 50 |n ).....|..if ( P|
|000045c0| 2e 49 73 41 28 27 50 6c | 61 79 65 72 50 61 77 6e |.IsA('Pl|ayerPawn|
|000045d0| 27 29 20 29 0d 0a 09 09 | 09 09 09 7b 0d 0a 09 09 |') )....|...{....|
|000045e0| 09 09 09 09 50 6c 61 79 | 65 72 50 61 77 6e 28 50 |....Play|erPawn(P|
|000045f0| 29 2e 43 6c 65 61 72 50 | 72 6f 67 72 65 73 73 4d |).ClearP|rogressM|
|00004600| 65 73 73 61 67 65 73 28 | 29 3b 0d 0a 09 09 09 09 |essages(|);......|
|00004610| 09 09 50 6c 61 79 65 72 | 50 61 77 6e 28 50 29 2e |..Player|Pawn(P).|
|00004620| 53 65 74 50 72 6f 67 72 | 65 73 73 54 69 6d 65 28 |SetProgr|essTime(|
|00004630| 32 29 3b 0d 0a 09 09 09 | 09 09 09 50 6c 61 79 65 |2);.....|...Playe|
|00004640| 72 50 61 77 6e 28 50 29 | 2e 53 65 74 50 72 6f 67 |rPawn(P)|.SetProg|
|00004650| 72 65 73 73 4d 65 73 73 | 61 67 65 28 57 61 69 74 |ressMess|age(Wait|
|00004660| 69 6e 67 4d 65 73 73 61 | 67 65 31 2c 20 30 29 3b |ingMessa|ge1, 0);|
|00004670| 0d 0a 09 09 09 09 09 09 | 50 6c 61 79 65 72 50 61 |........|PlayerPa|
|00004680| 77 6e 28 50 29 2e 53 65 | 74 50 72 6f 67 72 65 73 |wn(P).Se|tProgres|
|00004690| 73 4d 65 73 73 61 67 65 | 28 57 61 69 74 69 6e 67 |sMessage|(Waiting|
|000046a0| 4d 65 73 73 61 67 65 32 | 2c 20 31 29 3b 0d 0a 09 |Message2|, 1);...|
|000046b0| 09 09 09 09 09 69 66 20 | 28 20 50 6c 61 79 65 72 |.....if |( Player|
|000046c0| 50 61 77 6e 28 50 29 2e | 62 52 65 61 64 79 54 6f |Pawn(P).|bReadyTo|
|000046d0| 50 6c 61 79 20 29 0d 0a | 09 09 09 09 09 09 09 50 |Play )..|.......P|
|000046e0| 6c 61 79 65 72 50 61 77 | 6e 28 50 29 2e 53 65 74 |layerPaw|n(P).Set|
|000046f0| 50 72 6f 67 72 65 73 73 | 4d 65 73 73 61 67 65 28 |Progress|Message(|
|00004700| 52 65 61 64 79 4d 65 73 | 73 61 67 65 2c 20 32 29 |ReadyMes|sage, 2)|
|00004710| 3b 0d 0a 09 09 09 09 09 | 09 65 6c 73 65 0d 0a 09 |;.......|.else...|
|00004720| 09 09 09 09 09 09 50 6c | 61 79 65 72 50 61 77 6e |......Pl|ayerPawn|
|00004730| 28 50 29 2e 53 65 74 50 | 72 6f 67 72 65 73 73 4d |(P).SetP|rogressM|
|00004740| 65 73 73 61 67 65 28 4e | 6f 74 52 65 61 64 79 4d |essage(N|otReadyM|
|00004750| 65 73 73 61 67 65 2c 20 | 32 29 3b 0d 0a 09 09 09 |essage, |2);.....|
|00004760| 09 09 7d 0d 0a 09 09 09 | 7d 0d 0a 09 09 09 65 6c |..}.....|}.....el|
|00004770| 73 65 0d 0a 09 09 09 7b | 0d 0a 09 09 09 09 53 74 |se.....{|......St|
|00004780| 61 72 74 43 6f 75 6e 74 | 2b 2b 3b 0d 0a 09 09 09 |artCount|++;.....|
|00004790| 09 69 66 20 28 20 4c 65 | 76 65 6c 2e 4e 65 74 4d |.if ( Le|vel.NetM|
|000047a0| 6f 64 65 20 21 3d 20 4e | 4d 5f 53 74 61 6e 64 61 |ode != N|M_Standa|
|000047b0| 6c 6f 6e 65 20 29 0d 0a | 09 09 09 09 09 53 74 61 |lone )..|.....Sta|
|000047c0| 72 74 43 6f 75 6e 74 20 | 3d 20 33 30 3b 0d 0a 09 |rtCount |= 30;...|
|000047d0| 09 09 7d 0d 0a 09 09 7d | 0d 0a 09 09 65 6c 73 65 |..}....}|....else|
|000047e0| 0d 0a 09 09 7b 0d 0a 09 | 09 09 66 6f 72 20 28 20 |....{...|..for ( |
|000047f0| 50 20 3d 20 4c 65 76 65 | 6c 2e 50 61 77 6e 4c 69 |P = Leve|l.PawnLi|
|00004800| 73 74 3b 20 50 21 3d 4e | 6f 6e 65 3b 20 50 3d 50 |st; P!=N|one; P=P|
|00004810| 2e 6e 65 78 74 50 61 77 | 6e 20 29 0d 0a 09 09 09 |.nextPaw|n ).....|
|00004820| 09 69 66 20 28 20 50 2e | 49 73 41 28 27 50 6c 61 |.if ( P.|IsA('Pla|
|00004830| 79 65 72 50 61 77 6e 27 | 29 20 29 0d 0a 09 09 09 |yerPawn'|) ).....|
|00004840| 09 09 50 6c 61 79 53 74 | 61 72 74 75 70 4d 65 73 |..PlaySt|artupMes|
|00004850| 73 61 67 65 28 50 6c 61 | 79 65 72 50 61 77 6e 28 |sage(Pla|yerPawn(|
|00004860| 50 29 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 09 0d 0a |P));....|}...}...|
|00004870| 09 65 6c 73 65 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |.else...|{....if |
|00004880| 28 20 4c 65 76 65 6c 2e | 4e 65 74 4d 6f 64 65 20 |( Level.|NetMode |
|00004890| 21 3d 20 4e 4d 5f 53 74 | 61 6e 64 61 6c 6f 6e 65 |!= NM_St|andalone|
|000048a0| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 69 66 20 28 | )....{.|....if (|
|000048b0| 20 4e 65 65 64 50 6c 61 | 79 65 72 73 28 29 20 29 | NeedPla|yers() )|
|000048c0| 0d 0a 09 09 09 09 41 64 | 64 42 6f 74 28 29 3b 0d |......Ad|dBot();.|
|000048d0| 0a 09 09 7d 0d 0a 09 09 | 65 6c 73 65 0d 0a 09 09 |...}....|else....|
|000048e0| 09 77 68 69 6c 65 20 28 | 20 28 52 65 6d 61 69 6e |.while (| (Remain|
|000048f0| 69 6e 67 42 6f 74 73 20 | 3e 20 30 29 20 26 26 20 |ingBots |> 0) && |
|00004900| 41 64 64 42 6f 74 28 29 | 20 29 0d 0a 09 09 09 09 |AddBot()| )......|
|00004910| 52 65 6d 61 69 6e 69 6e | 67 42 6f 74 73 2d 2d 3b |Remainin|gBots--;|
|00004920| 0d 0a 09 09 69 66 20 28 | 20 62 47 61 6d 65 45 6e |....if (| bGameEn|
|00004930| 64 65 64 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 69 |ded )...|.{.....i|
|00004940| 66 20 28 20 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 |f ( Leve|l.TimeSe|
|00004950| 63 6f 6e 64 73 20 3e 20 | 45 6e 64 54 69 6d 65 20 |conds > |EndTime |
|00004960| 2b 20 33 30 20 29 0d 0a | 09 09 09 09 52 65 73 74 |+ 30 )..|....Rest|
|00004970| 61 72 74 47 61 6d 65 28 | 29 3b 0d 0a 09 09 7d 0d |artGame(|);....}.|
|00004980| 0a 09 09 65 6c 73 65 20 | 69 66 20 28 20 21 62 4f |...else |if ( !bO|
|00004990| 76 65 72 54 69 6d 65 20 | 26 26 20 28 54 69 6d 65 |verTime |&& (Time|
|000049a0| 4c 69 6d 69 74 20 3e 20 | 30 29 20 29 0d 0a 09 09 |Limit > |0) )....|
|000049b0| 7b 0d 0a 09 09 09 47 61 | 6d 65 52 65 70 6c 69 63 |{.....Ga|meReplic|
|000049c0| 61 74 69 6f 6e 49 6e 66 | 6f 2e 62 53 74 6f 70 43 |ationInf|o.bStopC|
|000049d0| 6f 75 6e 74 44 6f 77 6e | 20 3d 20 66 61 6c 73 65 |ountDown| = false|
|000049e0| 3b 0d 0a 09 09 09 52 65 | 6d 61 69 6e 69 6e 67 54 |;.....Re|mainingT|
|000049f0| 69 6d 65 2d 2d 3b 0d 0a | 09 09 09 47 61 6d 65 52 |ime--;..|...GameR|
|00004a00| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 52 |eplicati|onInfo.R|
|00004a10| 65 6d 61 69 6e 69 6e 67 | 54 69 6d 65 20 3d 20 52 |emaining|Time = R|
|00004a20| 65 6d 61 69 6e 69 6e 67 | 54 69 6d 65 3b 0d 0a 09 |emaining|Time;...|
|00004a30| 09 09 69 66 20 28 20 52 | 65 6d 61 69 6e 69 6e 67 |..if ( R|emaining|
|00004a40| 54 69 6d 65 20 25 20 36 | 30 20 3d 3d 20 30 20 29 |Time % 6|0 == 0 )|
|00004a50| 0d 0a 09 09 09 09 47 61 | 6d 65 52 65 70 6c 69 63 |......Ga|meReplic|
|00004a60| 61 74 69 6f 6e 49 6e 66 | 6f 2e 52 65 6d 61 69 6e |ationInf|o.Remain|
|00004a70| 69 6e 67 4d 69 6e 75 74 | 65 20 3d 20 52 65 6d 61 |ingMinut|e = Rema|
|00004a80| 69 6e 69 6e 67 54 69 6d | 65 3b 0d 0a 09 09 09 69 |iningTim|e;.....i|
|00004a90| 66 20 28 20 52 65 6d 61 | 69 6e 69 6e 67 54 69 6d |f ( Rema|iningTim|
|00004aa0| 65 20 3c 3d 20 30 20 29 | 0d 0a 09 09 09 09 45 6e |e <= 0 )|......En|
|00004ab0| 64 47 61 6d 65 28 22 74 | 69 6d 65 6c 69 6d 69 74 |dGame("t|imelimit|
|00004ac0| 22 29 3b 0d 0a 09 09 7d | 0d 0a 09 09 65 6c 73 65 |");....}|....else|
|00004ad0| 0d 0a 09 09 7b 0d 0a 09 | 09 09 45 6c 61 70 73 65 |....{...|..Elapse|
|00004ae0| 64 54 69 6d 65 2b 2b 3b | 0d 0a 09 09 09 47 61 6d |dTime++;|.....Gam|
|00004af0| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00004b00| 2e 45 6c 61 70 73 65 64 | 54 69 6d 65 20 3d 20 45 |.Elapsed|Time = E|
|00004b10| 6c 61 70 73 65 64 54 69 | 6d 65 3b 0d 0a 09 09 7d |lapsedTi|me;....}|
|00004b20| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |...}..}.|...funct|
|00004b30| 69 6f 6e 20 62 6f 6f 6c | 20 54 6f 6f 4d 61 6e 79 |ion bool| TooMany|
|00004b40| 42 6f 74 73 28 29 0d 0a | 7b 0d 0a 09 72 65 74 75 |Bots()..|{...retu|
|00004b50| 72 6e 20 28 4e 75 6d 42 | 6f 74 73 20 2b 20 4e 75 |rn (NumB|ots + Nu|
|00004b60| 6d 50 6c 61 79 65 72 73 | 20 3e 20 4d 69 6e 50 6c |mPlayers| > MinPl|
|00004b70| 61 79 65 72 73 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |ayers);.|.}....fu|
|00004b80| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 52 65 73 74 |nction b|ool Rest|
|00004b90| 61 72 74 50 6c 61 79 65 | 72 28 20 70 61 77 6e 20 |artPlaye|r( pawn |
|00004ba0| 61 50 6c 61 79 65 72 20 | 29 09 0d 0a 7b 0d 0a 09 |aPlayer |)...{...|
|00004bb0| 6c 6f 63 61 6c 20 42 6f | 74 20 42 3b 0d 0a 0d 0a |local Bo|t B;....|
|00004bc0| 09 61 50 6c 61 79 65 72 | 2e 44 61 6d 61 67 65 53 |.aPlayer|.DamageS|
|00004bd0| 63 61 6c 69 6e 67 20 3d | 20 61 50 6c 61 79 65 72 |caling =| aPlayer|
|00004be0| 2e 44 65 66 61 75 6c 74 | 2e 44 61 6d 61 67 65 53 |.Default|.DamageS|
|00004bf0| 63 61 6c 69 6e 67 3b 0d | 0a 09 42 20 3d 20 42 6f |caling;.|..B = Bo|
|00004c00| 74 28 61 50 6c 61 79 65 | 72 29 3b 0d 0a 09 69 66 |t(aPlaye|r);...if|
|00004c10| 20 28 20 28 42 20 21 3d | 20 4e 6f 6e 65 29 20 0d | ( (B !=| None) .|
|00004c20| 0a 09 09 26 26 20 28 4c | 65 76 65 6c 2e 4e 65 74 |...&& (L|evel.Net|
|00004c30| 4d 6f 64 65 20 21 3d 20 | 4e 4d 5f 53 74 61 6e 64 |Mode != |NM_Stand|
|00004c40| 61 6c 6f 6e 65 29 20 0d | 0a 09 09 26 26 20 54 6f |alone) .|...&& To|
|00004c50| 6f 4d 61 6e 79 42 6f 74 | 73 28 29 20 29 0d 0a 09 |oManyBot|s() )...|
|00004c60| 7b 0d 0a 09 09 61 50 6c | 61 79 65 72 2e 44 65 73 |{....aPl|ayer.Des|
|00004c70| 74 72 6f 79 28 29 3b 0d | 0a 09 09 72 65 74 75 72 |troy();.|...retur|
|00004c80| 6e 20 66 61 6c 73 65 3b | 0d 0a 09 7d 0d 0a 0d 0a |n false;|...}....|
|00004c90| 09 72 65 74 75 72 6e 20 | 53 75 70 65 72 2e 52 65 |.return |Super.Re|
|00004ca0| 73 74 61 72 74 50 6c 61 | 79 65 72 28 61 50 6c 61 |startPla|yer(aPla|
|00004cb0| 79 65 72 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |yer);..}|....func|
|00004cc0| 74 69 6f 6e 20 53 65 6e | 64 53 74 61 72 74 4d 65 |tion Sen|dStartMe|
|00004cd0| 73 73 61 67 65 28 50 6c | 61 79 65 72 50 61 77 6e |ssage(Pl|ayerPawn|
|00004ce0| 20 50 29 0d 0a 7b 0d 0a | 09 50 2e 43 6c 65 61 72 | P)..{..|.P.Clear|
|00004cf0| 50 72 6f 67 72 65 73 73 | 4d 65 73 73 61 67 65 73 |Progress|Messages|
|00004d00| 28 29 3b 0d 0a 09 50 2e | 53 65 74 50 72 6f 67 72 |();...P.|SetProgr|
|00004d10| 65 73 73 4d 65 73 73 61 | 67 65 28 53 74 61 72 74 |essMessa|ge(Start|
|00004d20| 4d 65 73 73 61 67 65 2c | 20 30 29 3b 0d 0a 7d 0d |Message,| 0);..}.|
|00004d30| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 42 6f 74 20 |...funct|ion Bot |
|00004d40| 53 70 61 77 6e 42 6f 74 | 28 6f 75 74 20 4e 61 76 |SpawnBot|(out Nav|
|00004d50| 69 67 61 74 69 6f 6e 50 | 6f 69 6e 74 20 53 74 61 |igationP|oint Sta|
|00004d60| 72 74 53 70 6f 74 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |rtSpot).|.{...loc|
|00004d70| 61 6c 20 62 6f 74 20 4e | 65 77 42 6f 74 3b 0d 0a |al bot N|ewBot;..|
|00004d80| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 42 6f 74 4e 3b |.local i|nt BotN;|
|00004d90| 0d 0a 0d 0a 09 69 66 20 | 28 20 62 52 61 74 65 64 |.....if |( bRated|
|00004da0| 47 61 6d 65 20 29 0d 0a | 09 09 72 65 74 75 72 6e |Game )..|..return|
|00004db0| 20 53 70 61 77 6e 52 61 | 74 65 64 42 6f 74 28 53 | SpawnRa|tedBot(S|
|00004dc0| 74 61 72 74 53 70 6f 74 | 29 3b 0d 0a 0d 0a 09 44 |tartSpot|);.....D|
|00004dd0| 69 66 66 69 63 75 6c 74 | 79 20 3d 20 42 6f 74 43 |ifficult|y = BotC|
|00004de0| 6f 6e 66 69 67 2e 44 69 | 66 66 69 63 75 6c 74 79 |onfig.Di|fficulty|
|00004df0| 3b 0d 0a 09 42 6f 74 4e | 20 3d 20 42 6f 74 43 6f |;...BotN| = BotCo|
|00004e00| 6e 66 69 67 2e 43 68 6f | 6f 73 65 42 6f 74 49 6e |nfig.Cho|oseBotIn|
|00004e10| 66 6f 28 29 3b 0d 0a 09 | 0d 0a 09 2f 2f 20 46 69 |fo();...|...// Fi|
|00004e20| 6e 64 20 61 20 73 74 61 | 72 74 20 73 70 6f 74 2e |nd a sta|rt spot.|
|00004e30| 0d 0a 09 53 74 61 72 74 | 53 70 6f 74 20 3d 20 46 |...Start|Spot = F|
|00004e40| 69 6e 64 50 6c 61 79 65 | 72 53 74 61 72 74 28 4e |indPlaye|rStart(N|
|00004e50| 6f 6e 65 2c 20 32 35 35 | 29 3b 0d 0a 09 69 66 28 |one, 255|);...if(|
|00004e60| 20 53 74 61 72 74 53 70 | 6f 74 20 3d 3d 20 4e 6f | StartSp|ot == No|
|00004e70| 6e 65 20 29 0d 0a 09 7b | 0d 0a 09 09 6c 6f 67 28 |ne )...{|....log(|
|00004e80| 22 43 6f 75 6c 64 20 6e | 6f 74 20 66 69 6e 64 20 |"Could n|ot find |
|00004e90| 73 74 61 72 74 69 6e 67 | 20 73 70 6f 74 20 66 6f |starting| spot fo|
|00004ea0| 72 20 42 6f 74 22 29 3b | 0d 0a 09 09 72 65 74 75 |r Bot");|....retu|
|00004eb0| 72 6e 20 4e 6f 6e 65 3b | 0d 0a 09 7d 0d 0a 0d 0a |rn None;|...}....|
|00004ec0| 09 2f 2f 20 54 72 79 20 | 74 6f 20 73 70 61 77 6e |.// Try |to spawn|
|00004ed0| 20 74 68 65 20 62 6f 74 | 2e 0d 0a 09 4e 65 77 42 | the bot|....NewB|
|00004ee0| 6f 74 20 3d 20 53 70 61 | 77 6e 28 42 6f 74 43 6f |ot = Spa|wn(BotCo|
|00004ef0| 6e 66 69 67 2e 43 48 47 | 65 74 42 6f 74 43 6c 61 |nfig.CHG|etBotCla|
|00004f00| 73 73 28 42 6f 74 4e 29 | 2c 2c 2c 53 74 61 72 74 |ss(BotN)|,,,Start|
|00004f10| 53 70 6f 74 2e 4c 6f 63 | 61 74 69 6f 6e 2c 53 74 |Spot.Loc|ation,St|
|00004f20| 61 72 74 53 70 6f 74 2e | 52 6f 74 61 74 69 6f 6e |artSpot.|Rotation|
|00004f30| 29 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 4e 65 77 42 |);.....i|f ( NewB|
|00004f40| 6f 74 20 3d 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |ot == No|ne )....|
|00004f50| 6c 6f 67 28 22 43 6f 75 | 6c 64 6e 27 74 20 73 70 |log("Cou|ldn't sp|
|00004f60| 61 77 6e 20 70 6c 61 79 | 65 72 20 61 74 20 22 24 |awn play|er at "$|
|00004f70| 53 74 61 72 74 53 70 6f | 74 29 3b 0d 0a 0d 0a 09 |StartSpo|t);.....|
|00004f80| 69 66 20 28 20 28 62 48 | 75 6d 61 6e 73 4f 6e 6c |if ( (bH|umansOnl|
|00004f90| 79 20 7c 7c 20 4c 65 76 | 65 6c 2e 62 48 75 6d 61 |y || Lev|el.bHuma|
|00004fa0| 6e 73 4f 6e 6c 79 29 20 | 26 26 20 21 4e 65 77 42 |nsOnly) |&& !NewB|
|00004fb0| 6f 74 2e 62 49 73 48 75 | 6d 61 6e 20 29 0d 0a 09 |ot.bIsHu|man )...|
|00004fc0| 7b 0d 0a 09 09 6c 6f 67 | 28 22 63 61 6e 27 74 20 |{....log|("can't |
|00004fd0| 61 64 64 20 6e 6f 6e 2d | 68 75 6d 61 6e 20 62 6f |add non-|human bo|
|00004fe0| 74 20 74 6f 20 74 68 69 | 73 20 67 61 6d 65 22 29 |t to thi|s game")|
|00004ff0| 3b 0d 0a 09 09 4e 65 77 | 42 6f 74 2e 44 65 73 74 |;....New|Bot.Dest|
|00005000| 72 6f 79 28 29 3b 0d 0a | 09 09 4e 65 77 42 6f 74 |roy();..|..NewBot|
|00005010| 20 3d 20 4e 6f 6e 65 3b | 0d 0a 09 7d 0d 0a 0d 0a | = None;|...}....|
|00005020| 09 69 66 20 28 20 4e 65 | 77 42 6f 74 20 3d 3d 20 |.if ( Ne|wBot == |
|00005030| 4e 6f 6e 65 20 29 0d 0a | 09 09 4e 65 77 42 6f 74 |None )..|..NewBot|
|00005040| 20 3d 20 53 70 61 77 6e | 28 42 6f 74 43 6f 6e 66 | = Spawn|(BotConf|
|00005050| 69 67 2e 43 48 47 65 74 | 42 6f 74 43 6c 61 73 73 |ig.CHGet|BotClass|
|00005060| 28 30 29 2c 2c 2c 53 74 | 61 72 74 53 70 6f 74 2e |(0),,,St|artSpot.|
|00005070| 4c 6f 63 61 74 69 6f 6e | 2c 53 74 61 72 74 53 70 |Location|,StartSp|
|00005080| 6f 74 2e 52 6f 74 61 74 | 69 6f 6e 29 3b 0d 0a 0d |ot.Rotat|ion);...|
|00005090| 0a 09 69 66 20 28 20 4e | 65 77 42 6f 74 20 21 3d |..if ( N|ewBot !=|
|000050a0| 20 4e 6f 6e 65 20 29 0d | 0a 09 7b 0d 0a 09 09 4e | None ).|..{....N|
|000050b0| 65 77 42 6f 74 2e 50 6c | 61 79 65 72 52 65 70 6c |ewBot.Pl|ayerRepl|
|000050c0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 54 65 61 6d |icationI|nfo.Team|
|000050d0| 20 3d 20 42 6f 74 43 6f | 6e 66 69 67 2e 47 65 74 | = BotCo|nfig.Get|
|000050e0| 42 6f 74 54 65 61 6d 28 | 42 6f 74 4e 29 3b 0d 0a |BotTeam(|BotN);..|
|000050f0| 09 09 42 6f 74 43 6f 6e | 66 69 67 2e 43 48 49 6e |..BotCon|fig.CHIn|
|00005100| 64 69 76 69 64 75 61 6c | 69 7a 65 28 4e 65 77 42 |dividual|ize(NewB|
|00005110| 6f 74 2c 20 42 6f 74 4e | 2c 20 4e 75 6d 42 6f 74 |ot, BotN|, NumBot|
|00005120| 73 29 3b 0d 0a 09 09 4e | 65 77 42 6f 74 2e 56 69 |s);....N|ewBot.Vi|
|00005130| 65 77 52 6f 74 61 74 69 | 6f 6e 20 3d 20 53 74 61 |ewRotati|on = Sta|
|00005140| 72 74 53 70 6f 74 2e 52 | 6f 74 61 74 69 6f 6e 3b |rtSpot.R|otation;|
|00005150| 0d 0a 09 09 2f 2f 20 62 | 72 6f 61 64 63 61 73 74 |....// b|roadcast|
|00005160| 20 61 20 77 65 6c 63 6f | 6d 65 20 6d 65 73 73 61 | a welco|me messa|
|00005170| 67 65 2e 0d 0a 09 09 42 | 72 6f 61 64 63 61 73 74 |ge.....B|roadcast|
|00005180| 4d 65 73 73 61 67 65 28 | 20 4e 65 77 42 6f 74 2e |Message(| NewBot.|
|00005190| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|000051a0| 6e 49 6e 66 6f 2e 50 6c | 61 79 65 72 4e 61 6d 65 |nInfo.Pl|ayerName|
|000051b0| 24 45 6e 74 65 72 65 64 | 4d 65 73 73 61 67 65 2c |$Entered|Message,|
|000051c0| 20 66 61 6c 73 65 20 29 | 3b 0d 0a 0d 0a 09 09 4d | false )|;......M|
|000051d0| 6f 64 69 66 79 42 65 68 | 61 76 69 6f 75 72 28 4e |odifyBeh|aviour(N|
|000051e0| 65 77 42 6f 74 29 3b 0d | 0a 09 09 41 64 64 44 65 |ewBot);.|...AddDe|
|000051f0| 66 61 75 6c 74 49 6e 76 | 65 6e 74 6f 72 79 28 20 |faultInv|entory( |
|00005200| 4e 65 77 42 6f 74 20 29 | 3b 0d 0a 09 09 4e 75 6d |NewBot )|;....Num|
|00005210| 42 6f 74 73 2b 2b 3b 0d | 0a 09 09 69 66 20 28 20 |Bots++;.|...if ( |
|00005220| 62 52 65 71 75 69 72 65 | 52 65 61 64 79 20 26 26 |bRequire|Ready &&|
|00005230| 20 28 43 6f 75 6e 74 44 | 6f 77 6e 20 3e 20 30 29 | (CountD|own > 0)|
|00005240| 20 29 0d 0a 09 09 09 4e | 65 77 42 6f 74 2e 47 6f | ).....N|ewBot.Go|
|00005250| 74 6f 53 74 61 74 65 28 | 27 44 79 69 6e 67 27 2c |toState(|'Dying',|
|00005260| 20 27 57 61 69 74 69 6e | 67 46 6f 72 53 74 61 72 | 'Waitin|gForStar|
|00005270| 74 27 29 3b 0d 0a 09 09 | 4e 65 77 42 6f 74 2e 41 |t');....|NewBot.A|
|00005280| 69 72 43 6f 6e 74 72 6f | 6c 20 3d 20 41 69 72 43 |irContro|l = AirC|
|00005290| 6f 6e 74 72 6f 6c 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |ontrol;.|..}.....|
|000052a0| 72 65 74 75 72 6e 20 4e | 65 77 42 6f 74 3b 0d 0a |return N|ewBot;..|
|000052b0| 7d 0d 0a 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |}......f|unction |
|000052c0| 42 6f 74 20 53 70 61 77 | 6e 52 61 74 65 64 42 6f |Bot Spaw|nRatedBo|
|000052d0| 74 28 6f 75 74 20 4e 61 | 76 69 67 61 74 69 6f 6e |t(out Na|vigation|
|000052e0| 50 6f 69 6e 74 20 53 74 | 61 72 74 53 70 6f 74 29 |Point St|artSpot)|
|000052f0| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 62 6f 74 20 |..{...lo|cal bot |
|00005300| 4e 65 77 42 6f 74 3b 0d | 0a 09 6c 6f 63 61 6c 20 |NewBot;.|..local |
|00005310| 69 6e 74 20 42 6f 74 4e | 3b 0d 0a 09 6c 6f 63 61 |int BotN|;...loca|
|00005320| 6c 20 62 6f 6f 6c 20 62 | 45 6e 65 6d 79 3b 0d 0a |l bool b|Enemy;..|
|00005330| 0d 0a 09 69 66 20 28 52 | 65 6d 61 69 6e 69 6e 67 |...if (R|emaining|
|00005340| 42 6f 74 73 20 3e 20 52 | 61 74 65 64 4d 61 74 63 |Bots > R|atedMatc|
|00005350| 68 43 6f 6e 66 69 67 2e | 4e 75 6d 41 6c 6c 69 65 |hConfig.|NumAllie|
|00005360| 73 29 0d 0a 09 09 62 45 | 6e 65 6d 79 20 3d 20 54 |s)....bE|nemy = T|
|00005370| 72 75 65 3b 0d 0a 0d 0a | 09 42 6f 74 4e 20 3d 20 |rue;....|.BotN = |
|00005380| 52 61 74 65 64 4d 61 74 | 63 68 43 6f 6e 66 69 67 |RatedMat|chConfig|
|00005390| 2e 43 68 6f 6f 73 65 42 | 6f 74 49 6e 66 6f 28 62 |.ChooseB|otInfo(b|
|000053a0| 54 65 61 6d 47 61 6d 65 | 2c 20 62 45 6e 65 6d 79 |TeamGame|, bEnemy|
|000053b0| 29 3b 0d 0a 09 0d 0a 09 | 2f 2f 20 46 69 6e 64 20 |);......|// Find |
|000053c0| 61 20 73 74 61 72 74 20 | 73 70 6f 74 2e 0d 0a 09 |a start |spot....|
|000053d0| 53 74 61 72 74 53 70 6f | 74 20 3d 20 46 69 6e 64 |StartSpo|t = Find|
|000053e0| 50 6c 61 79 65 72 53 74 | 61 72 74 28 4e 6f 6e 65 |PlayerSt|art(None|
|000053f0| 2c 20 32 35 35 29 3b 0d | 0a 09 69 66 28 20 53 74 |, 255);.|..if( St|
|00005400| 61 72 74 53 70 6f 74 20 | 3d 3d 20 4e 6f 6e 65 20 |artSpot |== None |
|00005410| 29 0d 0a 09 7b 0d 0a 09 | 09 6c 6f 67 28 22 43 6f |)...{...|.log("Co|
|00005420| 75 6c 64 20 6e 6f 74 20 | 66 69 6e 64 20 73 74 61 |uld not |find sta|
|00005430| 72 74 69 6e 67 20 73 70 | 6f 74 20 66 6f 72 20 42 |rting sp|ot for B|
|00005440| 6f 74 22 29 3b 0d 0a 09 | 09 72 65 74 75 72 6e 20 |ot");...|.return |
|00005450| 4e 6f 6e 65 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 2f 2f |None;...|}.....//|
|00005460| 20 54 72 79 20 74 6f 20 | 73 70 61 77 6e 20 74 68 | Try to |spawn th|
|00005470| 65 20 62 6f 74 2e 0d 0a | 09 4e 65 77 42 6f 74 20 |e bot...|.NewBot |
|00005480| 3d 20 53 70 61 77 6e 28 | 52 61 74 65 64 4d 61 74 |= Spawn(|RatedMat|
|00005490| 63 68 43 6f 6e 66 69 67 | 2e 47 65 74 42 6f 74 43 |chConfig|.GetBotC|
|000054a0| 6c 61 73 73 28 42 6f 74 | 4e 2c 20 62 54 65 61 6d |lass(Bot|N, bTeam|
|000054b0| 47 61 6d 65 2c 20 62 45 | 6e 65 6d 79 2c 20 52 61 |Game, bE|nemy, Ra|
|000054c0| 74 65 64 50 6c 61 79 65 | 72 29 2c 2c 2c 53 74 61 |tedPlaye|r),,,Sta|
|000054d0| 72 74 53 70 6f 74 2e 4c | 6f 63 61 74 69 6f 6e 2c |rtSpot.L|ocation,|
|000054e0| 53 74 61 72 74 53 70 6f | 74 2e 52 6f 74 61 74 69 |StartSpo|t.Rotati|
|000054f0| 6f 6e 29 3b 0d 0a 09 69 | 66 20 28 20 4e 65 77 42 |on);...i|f ( NewB|
|00005500| 6f 74 20 3d 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |ot == No|ne )....|
|00005510| 6c 6f 67 28 22 43 6f 75 | 6c 64 6e 27 74 20 73 70 |log("Cou|ldn't sp|
|00005520| 61 77 6e 20 70 6c 61 79 | 65 72 20 61 74 20 22 24 |awn play|er at "$|
|00005530| 53 74 61 72 74 53 70 6f | 74 29 3b 0d 0a 0d 0a 09 |StartSpo|t);.....|
|00005540| 69 66 20 28 20 4e 65 77 | 42 6f 74 20 21 3d 20 4e |if ( New|Bot != N|
|00005550| 6f 6e 65 20 29 0d 0a 09 | 7b 0d 0a 09 09 52 61 74 |one )...|{....Rat|
|00005560| 65 64 4d 61 74 63 68 43 | 6f 6e 66 69 67 2e 49 6e |edMatchC|onfig.In|
|00005570| 64 69 76 69 64 75 61 6c | 69 7a 65 28 4e 65 77 42 |dividual|ize(NewB|
|00005580| 6f 74 2c 20 42 6f 74 4e | 2c 20 4e 75 6d 42 6f 74 |ot, BotN|, NumBot|
|00005590| 73 2c 20 62 54 65 61 6d | 47 61 6d 65 2c 20 62 45 |s, bTeam|Game, bE|
|000055a0| 6e 65 6d 79 29 3b 0d 0a | 09 09 4e 65 77 42 6f 74 |nemy);..|..NewBot|
|000055b0| 2e 56 69 65 77 52 6f 74 | 61 74 69 6f 6e 20 3d 20 |.ViewRot|ation = |
|000055c0| 53 74 61 72 74 53 70 6f | 74 2e 52 6f 74 61 74 69 |StartSpo|t.Rotati|
|000055d0| 6f 6e 3b 0d 0a 09 09 2f | 2f 20 62 72 6f 61 64 63 |on;..../|/ broadc|
|000055e0| 61 73 74 20 61 20 77 65 | 6c 63 6f 6d 65 20 6d 65 |ast a we|lcome me|
|000055f0| 73 73 61 67 65 2e 0d 0a | 09 09 42 72 6f 61 64 63 |ssage...|..Broadc|
|00005600| 61 73 74 4d 65 73 73 61 | 67 65 28 20 4e 65 77 42 |astMessa|ge( NewB|
|00005610| 6f 74 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |ot.Playe|rReplica|
|00005620| 74 69 6f 6e 49 6e 66 6f | 2e 50 6c 61 79 65 72 4e |tionInfo|.PlayerN|
|00005630| 61 6d 65 24 45 6e 74 65 | 72 65 64 4d 65 73 73 61 |ame$Ente|redMessa|
|00005640| 67 65 2c 20 66 61 6c 73 | 65 20 29 3b 0d 0a 0d 0a |ge, fals|e );....|
|00005650| 09 09 4d 6f 64 69 66 79 | 42 65 68 61 76 69 6f 75 |..Modify|Behaviou|
|00005660| 72 28 4e 65 77 42 6f 74 | 29 3b 0d 0a 09 09 41 64 |r(NewBot|);....Ad|
|00005670| 64 44 65 66 61 75 6c 74 | 49 6e 76 65 6e 74 6f 72 |dDefault|Inventor|
|00005680| 79 28 20 4e 65 77 42 6f | 74 20 29 3b 0d 0a 09 09 |y( NewBo|t );....|
|00005690| 4e 75 6d 42 6f 74 73 2b | 2b 3b 0d 0a 09 09 69 66 |NumBots+|+;....if|
|000056a0| 20 28 20 62 52 65 71 75 | 69 72 65 52 65 61 64 79 | ( bRequ|ireReady|
|000056b0| 20 26 26 20 28 43 6f 75 | 6e 74 44 6f 77 6e 20 3e | && (Cou|ntDown >|
|000056c0| 20 30 29 20 29 0d 0a 09 | 09 09 4e 65 77 42 6f 74 | 0) )...|..NewBot|
|000056d0| 2e 47 6f 74 6f 53 74 61 | 74 65 28 27 44 79 69 6e |.GotoSta|te('Dyin|
|000056e0| 67 27 2c 20 27 57 61 69 | 74 69 6e 67 46 6f 72 53 |g', 'Wai|tingForS|
|000056f0| 74 61 72 74 27 29 3b 0d | 0a 09 09 4e 65 77 42 6f |tart');.|...NewBo|
|00005700| 74 2e 41 69 72 43 6f 6e | 74 72 6f 6c 20 3d 20 30 |t.AirCon|trol = 0|
|00005710| 2e 33 35 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 72 65 74 |.35;...}|.....ret|
|00005720| 75 72 6e 20 4e 65 77 42 | 6f 74 3b 0d 0a 7d 0d 0a |urn NewB|ot;..}..|
|00005730| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 62 6f 6f 6c 20 |..functi|on bool |
|00005740| 46 6f 72 63 65 41 64 64 | 42 6f 74 28 29 0d 0a 7b |ForceAdd|Bot()..{|
|00005750| 0d 0a 09 2f 2f 20 61 64 | 64 20 62 6f 74 20 64 75 |...// ad|d bot du|
|00005760| 72 69 6e 67 20 67 61 6d | 65 70 6c 61 79 0d 0a 09 |ring gam|eplay...|
|00005770| 69 66 20 28 20 4c 65 76 | 65 6c 2e 4e 65 74 4d 6f |if ( Lev|el.NetMo|
|00005780| 64 65 20 21 3d 20 4e 4d | 5f 53 74 61 6e 64 61 6c |de != NM|_Standal|
|00005790| 6f 6e 65 20 29 0d 0a 09 | 09 4d 69 6e 50 6c 61 79 |one )...|.MinPlay|
|000057a0| 65 72 73 20 3d 20 4d 61 | 78 28 4d 69 6e 50 6c 61 |ers = Ma|x(MinPla|
|000057b0| 79 65 72 73 2b 31 2c 20 | 4e 75 6d 50 6c 61 79 65 |yers+1, |NumPlaye|
|000057c0| 72 73 20 2b 20 4e 75 6d | 42 6f 74 73 20 2b 20 31 |rs + Num|Bots + 1|
|000057d0| 29 3b 0d 0a 09 41 64 64 | 42 6f 74 28 29 3b 0d 0a |);...Add|Bot();..|
|000057e0| 7d 0d 0a 09 09 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |}......f|unction |
|000057f0| 62 6f 6f 6c 20 41 64 64 | 42 6f 74 28 29 0d 0a 7b |bool Add|Bot()..{|
|00005800| 0d 0a 09 6c 6f 63 61 6c | 20 62 6f 74 20 4e 65 77 |...local| bot New|
|00005810| 42 6f 74 3b 0d 0a 09 6c | 6f 63 61 6c 20 4e 61 76 |Bot;...l|ocal Nav|
|00005820| 69 67 61 74 69 6f 6e 50 | 6f 69 6e 74 20 53 74 61 |igationP|oint Sta|
|00005830| 72 74 53 70 6f 74 3b 0d | 0a 0d 0a 09 4e 65 77 42 |rtSpot;.|....NewB|
|00005840| 6f 74 20 3d 20 53 70 61 | 77 6e 42 6f 74 28 53 74 |ot = Spa|wnBot(St|
|00005850| 61 72 74 53 70 6f 74 29 | 3b 0d 0a 09 69 66 20 28 |artSpot)|;...if (|
|00005860| 20 4e 65 77 42 6f 74 20 | 3d 3d 20 4e 6f 6e 65 20 | NewBot |== None |
|00005870| 29 0d 0a 09 7b 0d 0a 09 | 09 6c 6f 67 28 22 46 61 |)...{...|.log("Fa|
|00005880| 69 6c 65 64 20 74 6f 20 | 73 70 61 77 6e 20 62 6f |iled to |spawn bo|
|00005890| 74 2e 22 29 3b 0d 0a 09 | 09 72 65 74 75 72 6e 20 |t.");...|.return |
|000058a0| 66 61 6c 73 65 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 53 |false;..|.}.....S|
|000058b0| 74 61 72 74 53 70 6f 74 | 2e 50 6c 61 79 54 65 6c |tartSpot|.PlayTel|
|000058c0| 65 70 6f 72 74 45 66 66 | 65 63 74 28 4e 65 77 42 |eportEff|ect(NewB|
|000058d0| 6f 74 2c 20 74 72 75 65 | 29 3b 0d 0a 0d 0a 09 4e |ot, true|);.....N|
|000058e0| 65 77 42 6f 74 2e 50 6c | 61 79 65 72 52 65 70 6c |ewBot.Pl|ayerRepl|
|000058f0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 62 49 73 41 |icationI|nfo.bIsA|
|00005900| 42 6f 74 20 3d 20 54 72 | 75 65 3b 0d 0a 0d 0a 09 |Bot = Tr|ue;.....|
|00005910| 2f 2f 20 53 65 74 20 74 | 68 65 20 70 6c 61 79 65 |// Set t|he playe|
|00005920| 72 27 73 20 49 44 2e 0d | 0a 09 4e 65 77 42 6f 74 |r's ID..|..NewBot|
|00005930| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00005940| 6f 6e 49 6e 66 6f 2e 50 | 6c 61 79 65 72 49 44 20 |onInfo.P|layerID |
|00005950| 3d 20 43 75 72 72 65 6e | 74 49 44 2b 2b 3b 0d 0a |= Curren|tID++;..|
|00005960| 0d 0a 09 2f 2f 20 4c 6f | 67 20 69 74 2e 0d 0a 09 |...// Lo|g it....|
|00005970| 69 66 20 28 4c 6f 63 61 | 6c 4c 6f 67 20 21 3d 20 |if (Loca|lLog != |
|00005980| 4e 6f 6e 65 29 0d 0a 09 | 7b 0d 0a 09 09 4c 6f 63 |None)...|{....Loc|
|00005990| 61 6c 4c 6f 67 2e 4c 6f | 67 50 6c 61 79 65 72 43 |alLog.Lo|gPlayerC|
|000059a0| 6f 6e 6e 65 63 74 28 4e | 65 77 42 6f 74 29 3b 0d |onnect(N|ewBot);.|
|000059b0| 0a 09 09 4c 6f 63 61 6c | 4c 6f 67 2e 46 6c 75 73 |...Local|Log.Flus|
|000059c0| 68 4c 6f 67 28 29 3b 0d | 0a 09 7d 0d 0a 09 69 66 |hLog();.|..}...if|
|000059d0| 20 28 57 6f 72 6c 64 4c | 6f 67 20 21 3d 20 4e 6f | (WorldL|og != No|
|000059e0| 6e 65 29 0d 0a 09 7b 0d | 0a 09 09 57 6f 72 6c 64 |ne)...{.|...World|
|000059f0| 4c 6f 67 2e 4c 6f 67 50 | 6c 61 79 65 72 43 6f 6e |Log.LogP|layerCon|
|00005a00| 6e 65 63 74 28 4e 65 77 | 42 6f 74 29 3b 0d 0a 09 |nect(New|Bot);...|
|00005a10| 09 57 6f 72 6c 64 4c 6f | 67 2e 46 6c 75 73 68 4c |.WorldLo|g.FlushL|
|00005a20| 6f 67 28 29 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 72 65 |og();...|}.....re|
|00005a30| 74 75 72 6e 20 74 72 75 | 65 3b 0d 0a 7d 0d 0a 0d |turn tru|e;..}...|
|00005a40| 0a 66 75 6e 63 74 69 6f | 6e 20 4d 6f 64 69 66 79 |.functio|n Modify|
|00005a50| 42 65 68 61 76 69 6f 75 | 72 28 42 6f 74 20 4e 65 |Behaviou|r(Bot Ne|
|00005a60| 77 42 6f 74 29 3b 0d 0a | 0d 0a 66 75 6e 63 74 69 |wBot);..|..functi|
|00005a70| 6f 6e 20 50 6c 61 79 53 | 74 61 72 74 55 70 4d 65 |on PlayS|tartUpMe|
|00005a80| 73 73 61 67 65 28 50 6c | 61 79 65 72 50 61 77 6e |ssage(Pl|ayerPawn|
|00005a90| 20 4e 65 77 50 6c 61 79 | 65 72 29 0d 0a 7b 0d 0a | NewPlay|er)..{..|
|00005aa0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 69 3b 0d 0a 0d |.local i|nt i;...|
|00005ab0| 0a 09 4e 65 77 50 6c 61 | 79 65 72 2e 43 6c 65 61 |..NewPla|yer.Clea|
|00005ac0| 72 50 72 6f 67 72 65 73 | 73 4d 65 73 73 61 67 65 |rProgres|sMessage|
|00005ad0| 73 28 29 3b 0d 0a 0d 0a | 09 2f 2f 20 47 61 6d 65 |s();....|.// Game|
|00005ae0| 20 4e 61 6d 65 0d 0a 09 | 4e 65 77 50 6c 61 79 65 | Name...|NewPlaye|
|00005af0| 72 2e 53 65 74 50 72 6f | 67 72 65 73 73 4d 65 73 |r.SetPro|gressMes|
|00005b00| 73 61 67 65 28 47 61 6d | 65 4e 61 6d 65 2c 20 69 |sage(Gam|eName, i|
|00005b10| 2b 2b 29 3b 0d 0a 0d 0a | 09 2f 2f 20 4f 70 74 69 |++);....|.// Opti|
|00005b20| 6f 6e 61 6c 20 46 72 61 | 67 4c 69 6d 69 74 0d 0a |onal Fra|gLimit..|
|00005b30| 09 69 66 20 28 20 66 72 | 61 67 6c 69 6d 69 74 20 |.if ( fr|aglimit |
|00005b40| 3e 20 30 20 29 0d 0a 09 | 09 4e 65 77 50 6c 61 79 |> 0 )...|.NewPlay|
|00005b50| 65 72 2e 53 65 74 50 72 | 6f 67 72 65 73 73 4d 65 |er.SetPr|ogressMe|
|00005b60| 73 73 61 67 65 28 46 72 | 61 67 4c 69 6d 69 74 40 |ssage(Fr|agLimit@|
|00005b70| 47 61 6d 65 47 6f 61 6c | 2c 20 69 2b 2b 29 3b 0d |GameGoal|, i++);.|
|00005b80| 0a 0d 0a 09 69 66 20 28 | 20 4c 65 76 65 6c 2e 4e |....if (| Level.N|
|00005b90| 65 74 4d 6f 64 65 20 3d | 3d 20 4e 4d 5f 53 74 61 |etMode =|= NM_Sta|
|00005ba0| 6e 64 61 6c 6f 6e 65 20 | 29 0d 0a 09 09 4e 65 77 |ndalone |)....New|
|00005bb0| 50 6c 61 79 65 72 2e 53 | 65 74 50 72 6f 67 72 65 |Player.S|etProgre|
|00005bc0| 73 73 4d 65 73 73 61 67 | 65 28 53 69 6e 67 6c 65 |ssMessag|e(Single|
|00005bd0| 57 61 69 74 69 6e 67 4d | 65 73 73 61 67 65 2c 20 |WaitingM|essage, |
|00005be0| 69 2b 2b 29 3b 0d 0a 09 | 65 6c 73 65 20 69 66 20 |i++);...|else if |
|00005bf0| 28 20 62 52 65 71 75 69 | 72 65 52 65 61 64 79 20 |( bRequi|reReady |
|00005c00| 29 0d 0a 09 09 4e 65 77 | 50 6c 61 79 65 72 2e 53 |)....New|Player.S|
|00005c10| 65 74 50 72 6f 67 72 65 | 73 73 4d 65 73 73 61 67 |etProgre|ssMessag|
|00005c20| 65 28 54 6f 75 72 6e 65 | 79 4d 65 73 73 61 67 65 |e(Tourne|yMessage|
|00005c30| 2c 20 69 2b 2b 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |, i++);.|.}....fu|
|00005c40| 6e 63 74 69 6f 6e 20 66 | 6c 6f 61 74 20 50 6c 61 |nction f|loat Pla|
|00005c50| 79 65 72 4a 75 6d 70 5a | 53 63 61 6c 69 6e 67 28 |yerJumpZ|Scaling(|
|00005c60| 29 0d 0a 7b 0d 0a 09 69 | 66 20 28 20 62 4a 75 6d |)..{...i|f ( bJum|
|00005c70| 70 4d 61 74 63 68 20 29 | 0d 0a 09 09 72 65 74 75 |pMatch )|....retu|
|00005c80| 72 6e 20 33 3b 0d 0a 09 | 65 6c 73 65 20 69 66 20 |rn 3;...|else if |
|00005c90| 28 20 62 4d 65 67 61 53 | 70 65 65 64 20 29 0d 0a |( bMegaS|peed )..|
|00005ca0| 09 09 72 65 74 75 72 6e | 20 31 2e 32 3b 0d 0a 09 |..return| 1.2;...|
|00005cb0| 65 6c 73 65 20 69 66 20 | 28 20 62 48 61 72 64 43 |else if |( bHardC|
|00005cc0| 6f 72 65 4d 6f 64 65 20 | 29 0d 0a 09 09 72 65 74 |oreMode |)....ret|
|00005cd0| 75 72 6e 20 31 2e 31 3b | 0d 0a 09 65 6c 73 65 0d |urn 1.1;|...else.|
|00005ce0| 0a 09 09 72 65 74 75 72 | 6e 20 31 2e 30 3b 0d 0a |...retur|n 1.0;..|
|00005cf0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 41 64 |}....fun|ction Ad|
|00005d00| 64 44 65 66 61 75 6c 74 | 49 6e 76 65 6e 74 6f 72 |dDefault|Inventor|
|00005d10| 79 28 20 70 61 77 6e 20 | 50 6c 61 79 65 72 50 61 |y( pawn |PlayerPa|
|00005d20| 77 6e 20 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |wn )..{.|..local |
|00005d30| 57 65 61 70 6f 6e 20 4e | 65 77 57 65 61 70 6f 6e |Weapon N|ewWeapon|
|00005d40| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 42 6f 74 20 42 3b |;...loca|l Bot B;|
|00005d50| 0d 0a 0d 0a 09 69 66 20 | 28 20 50 6c 61 79 65 72 |.....if |( Player|
|00005d60| 50 61 77 6e 2e 49 73 41 | 28 27 53 70 65 63 74 61 |Pawn.IsA|('Specta|
|00005d70| 74 6f 72 27 29 20 7c 7c | 20 28 62 52 65 71 75 69 |tor') ||| (bRequi|
|00005d80| 72 65 52 65 61 64 79 20 | 26 26 20 28 43 6f 75 6e |reReady |&& (Coun|
|00005d90| 74 44 6f 77 6e 20 3e 20 | 30 29 29 20 29 0d 0a 09 |tDown > |0)) )...|
|00005da0| 09 72 65 74 75 72 6e 3b | 0d 0a 0d 0a 09 2f 2f 20 |.return;|.....// |
|00005db0| 53 70 61 77 6e 20 41 75 | 74 6f 6d 61 67 0d 0a 09 |Spawn Au|tomag...|
|00005dc0| 47 69 76 65 57 65 61 70 | 6f 6e 28 50 6c 61 79 65 |GiveWeap|on(Playe|
|00005dd0| 72 50 61 77 6e 2c 20 22 | 42 6f 74 70 61 63 6b 2e |rPawn, "|Botpack.|
|00005de0| 45 6e 66 6f 72 63 65 72 | 22 29 3b 0d 0a 0d 0a 09 |Enforcer|");.....|
|00005df0| 53 75 70 65 72 2e 41 64 | 64 44 65 66 61 75 6c 74 |Super.Ad|dDefault|
|00005e00| 49 6e 76 65 6e 74 6f 72 | 79 28 50 6c 61 79 65 72 |Inventor|y(Player|
|00005e10| 50 61 77 6e 29 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |Pawn);..|...if ( |
|00005e20| 62 55 73 65 54 72 61 6e | 73 6c 6f 63 61 74 6f 72 |bUseTran|slocator|
|00005e30| 20 26 26 20 28 21 62 52 | 61 74 65 64 47 61 6d 65 | && (!bR|atedGame|
|00005e40| 20 7c 7c 20 62 52 61 74 | 65 64 54 72 61 6e 73 6c | || bRat|edTransl|
|00005e50| 6f 63 61 74 6f 72 29 20 | 29 0d 0a 09 7b 0d 0a 09 |ocator) |)...{...|
|00005e60| 09 2f 2f 20 53 70 61 77 | 6e 20 54 72 61 6e 73 6c |.// Spaw|n Transl|
|00005e70| 6f 63 61 74 6f 72 2e 0d | 0a 09 09 69 66 28 20 50 |ocator..|...if( P|
|00005e80| 6c 61 79 65 72 50 61 77 | 6e 2e 46 69 6e 64 49 6e |layerPaw|n.FindIn|
|00005e90| 76 65 6e 74 6f 72 79 54 | 79 70 65 28 63 6c 61 73 |ventoryT|ype(clas|
|00005ea0| 73 27 54 72 61 6e 73 6c | 6f 63 61 74 6f 72 27 29 |s'Transl|ocator')|
|00005eb0| 3d 3d 4e 6f 6e 65 20 29 | 0d 0a 09 09 7b 0d 0a 09 |==None )|....{...|
|00005ec0| 09 09 6e 65 77 57 65 61 | 70 6f 6e 20 3d 20 53 70 |..newWea|pon = Sp|
|00005ed0| 61 77 6e 28 63 6c 61 73 | 73 27 54 72 61 6e 73 6c |awn(clas|s'Transl|
|00005ee0| 6f 63 61 74 6f 72 27 29 | 3b 0d 0a 09 09 09 69 66 |ocator')|;.....if|
|00005ef0| 28 20 6e 65 77 57 65 61 | 70 6f 6e 20 21 3d 20 4e |( newWea|pon != N|
|00005f00| 6f 6e 65 20 29 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |one )...|..{.....|
|00005f10| 09 6e 65 77 57 65 61 70 | 6f 6e 2e 49 6e 73 74 69 |.newWeap|on.Insti|
|00005f20| 67 61 74 6f 72 20 3d 20 | 50 6c 61 79 65 72 50 61 |gator = |PlayerPa|
|00005f30| 77 6e 3b 0d 0a 09 09 09 | 09 6e 65 77 57 65 61 70 |wn;.....|.newWeap|
|00005f40| 6f 6e 2e 42 65 63 6f 6d | 65 49 74 65 6d 28 29 3b |on.Becom|eItem();|
|00005f50| 0d 0a 09 09 09 09 50 6c | 61 79 65 72 50 61 77 6e |......Pl|ayerPawn|
|00005f60| 2e 41 64 64 49 6e 76 65 | 6e 74 6f 72 79 28 6e 65 |.AddInve|ntory(ne|
|00005f70| 77 57 65 61 70 6f 6e 29 | 3b 0d 0a 09 09 09 09 6e |wWeapon)|;......n|
|00005f80| 65 77 57 65 61 70 6f 6e | 2e 47 69 76 65 41 6d 6d |ewWeapon|.GiveAmm|
|00005f90| 6f 28 50 6c 61 79 65 72 | 50 61 77 6e 29 3b 0d 0a |o(Player|Pawn);..|
|00005fa0| 09 09 09 09 6e 65 77 57 | 65 61 70 6f 6e 2e 53 65 |....newW|eapon.Se|
|00005fb0| 74 53 77 69 74 63 68 50 | 72 69 6f 72 69 74 79 28 |tSwitchP|riority(|
|00005fc0| 50 6c 61 79 65 72 50 61 | 77 6e 29 3b 0d 0a 09 09 |PlayerPa|wn);....|
|00005fd0| 09 09 6e 65 77 57 65 61 | 70 6f 6e 2e 57 65 61 70 |..newWea|pon.Weap|
|00005fe0| 6f 6e 53 65 74 28 50 6c | 61 79 65 72 50 61 77 6e |onSet(Pl|ayerPawn|
|00005ff0| 29 3b 0d 0a 09 09 09 7d | 0d 0a 09 09 7d 0d 0a 09 |);.....}|....}...|
|00006000| 7d 0d 0a 0d 0a 09 42 20 | 3d 20 42 6f 74 28 50 6c |}.....B |= Bot(Pl|
|00006010| 61 79 65 72 50 61 77 6e | 29 3b 0d 0a 09 69 66 20 |ayerPawn|);...if |
|00006020| 28 20 42 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |( B != N|one )...|
|00006030| 09 42 2e 62 48 61 73 49 | 6d 70 61 63 74 48 61 6d |.B.bHasI|mpactHam|
|00006040| 6d 65 72 20 3d 20 28 42 | 2e 46 69 6e 64 49 6e 76 |mer = (B|.FindInv|
|00006050| 65 6e 74 6f 72 79 54 79 | 70 65 28 63 6c 61 73 73 |entoryTy|pe(class|
|00006060| 27 49 6d 70 61 63 74 48 | 61 6d 6d 65 72 27 29 20 |'ImpactH|ammer') |
|00006070| 21 3d 20 4e 6f 6e 65 29 | 3b 0d 0a 7d 09 0d 0a 0d |!= None)|;..}....|
|00006080| 0a 66 75 6e 63 74 69 6f | 6e 20 47 69 76 65 57 65 |.functio|n GiveWe|
|00006090| 61 70 6f 6e 28 50 61 77 | 6e 20 50 6c 61 79 65 72 |apon(Paw|n Player|
|000060a0| 50 61 77 6e 2c 20 73 74 | 72 69 6e 67 20 61 43 6c |Pawn, st|ring aCl|
|000060b0| 61 73 73 4e 61 6d 65 20 | 29 0d 0a 7b 0d 0a 09 6c |assName |)..{...l|
|000060c0| 6f 63 61 6c 20 63 6c 61 | 73 73 3c 57 65 61 70 6f |ocal cla|ss<Weapo|
|000060d0| 6e 3e 20 57 65 61 70 6f | 6e 43 6c 61 73 73 3b 0d |n> Weapo|nClass;.|
|000060e0| 0a 09 6c 6f 63 61 6c 20 | 57 65 61 70 6f 6e 20 4e |..local |Weapon N|
|000060f0| 65 77 57 65 61 70 6f 6e | 3b 0d 0a 0d 0a 09 57 65 |ewWeapon|;.....We|
|00006100| 61 70 6f 6e 43 6c 61 73 | 73 20 3d 20 63 6c 61 73 |aponClas|s = clas|
|00006110| 73 3c 57 65 61 70 6f 6e | 3e 28 44 79 6e 61 6d 69 |s<Weapon|>(Dynami|
|00006120| 63 4c 6f 61 64 4f 62 6a | 65 63 74 28 61 43 6c 61 |cLoadObj|ect(aCla|
|00006130| 73 73 4e 61 6d 65 2c 20 | 63 6c 61 73 73 27 43 6c |ssName, |class'Cl|
|00006140| 61 73 73 27 29 29 3b 0d | 0a 0d 0a 09 69 66 28 20 |ass'));.|....if( |
|00006150| 50 6c 61 79 65 72 50 61 | 77 6e 2e 46 69 6e 64 49 |PlayerPa|wn.FindI|
|00006160| 6e 76 65 6e 74 6f 72 79 | 54 79 70 65 28 57 65 61 |nventory|Type(Wea|
|00006170| 70 6f 6e 43 6c 61 73 73 | 29 20 21 3d 20 4e 6f 6e |ponClass|) != Non|
|00006180| 65 20 29 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |e )....r|eturn;..|
|00006190| 09 6e 65 77 57 65 61 70 | 6f 6e 20 3d 20 53 70 61 |.newWeap|on = Spa|
|000061a0| 77 6e 28 57 65 61 70 6f | 6e 43 6c 61 73 73 29 3b |wn(Weapo|nClass);|
|000061b0| 0d 0a 09 69 66 28 20 6e | 65 77 57 65 61 70 6f 6e |...if( n|ewWeapon|
|000061c0| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a | != None| )...{..|
|000061d0| 09 09 6e 65 77 57 65 61 | 70 6f 6e 2e 52 65 73 70 |..newWea|pon.Resp|
|000061e0| 61 77 6e 54 69 6d 65 20 | 3d 20 30 2e 30 3b 0d 0a |awnTime |= 0.0;..|
|000061f0| 09 09 6e 65 77 57 65 61 | 70 6f 6e 2e 47 69 76 65 |..newWea|pon.Give|
|00006200| 54 6f 28 50 6c 61 79 65 | 72 50 61 77 6e 29 3b 0d |To(Playe|rPawn);.|
|00006210| 0a 09 09 6e 65 77 57 65 | 61 70 6f 6e 2e 62 48 65 |...newWe|apon.bHe|
|00006220| 6c 64 49 74 65 6d 20 3d | 20 74 72 75 65 3b 0d 0a |ldItem =| true;..|
|00006230| 09 09 6e 65 77 57 65 61 | 70 6f 6e 2e 47 69 76 65 |..newWea|pon.Give|
|00006240| 41 6d 6d 6f 28 50 6c 61 | 79 65 72 50 61 77 6e 29 |Ammo(Pla|yerPawn)|
|00006250| 3b 0d 0a 09 09 6e 65 77 | 57 65 61 70 6f 6e 2e 53 |;....new|Weapon.S|
|00006260| 65 74 53 77 69 74 63 68 | 50 72 69 6f 72 69 74 79 |etSwitch|Priority|
|00006270| 28 50 6c 61 79 65 72 50 | 61 77 6e 29 3b 0d 0a 09 |(PlayerP|awn);...|
|00006280| 09 6e 65 77 57 65 61 70 | 6f 6e 2e 57 65 61 70 6f |.newWeap|on.Weapo|
|00006290| 6e 53 65 74 28 50 6c 61 | 79 65 72 50 61 77 6e 29 |nSet(Pla|yerPawn)|
|000062a0| 3b 0d 0a 09 09 6e 65 77 | 57 65 61 70 6f 6e 2e 41 |;....new|Weapon.A|
|000062b0| 6d 62 69 65 6e 74 47 6c | 6f 77 20 3d 20 30 3b 0d |mbientGl|ow = 0;.|
|000062c0| 0a 09 09 69 66 20 28 20 | 50 6c 61 79 65 72 50 61 |...if ( |PlayerPa|
|000062d0| 77 6e 2e 49 73 41 28 27 | 50 6c 61 79 65 72 50 61 |wn.IsA('|PlayerPa|
|000062e0| 77 6e 27 29 20 29 0d 0a | 09 09 09 6e 65 77 57 65 |wn') )..|...newWe|
|000062f0| 61 70 6f 6e 2e 53 65 74 | 48 61 6e 64 28 50 6c 61 |apon.Set|Hand(Pla|
|00006300| 79 65 72 50 61 77 6e 28 | 50 6c 61 79 65 72 50 61 |yerPawn(|PlayerPa|
|00006310| 77 6e 29 2e 48 61 6e 64 | 65 64 6e 65 73 73 29 3b |wn).Hand|edness);|
|00006320| 0d 0a 09 09 65 6c 73 65 | 0d 0a 09 09 09 6e 65 77 |....else|.....new|
|00006330| 57 65 61 70 6f 6e 2e 47 | 6f 74 6f 53 74 61 74 65 |Weapon.G|otoState|
|00006340| 28 27 49 64 6c 65 27 29 | 3b 0d 0a 09 09 50 6c 61 |('Idle')|;....Pla|
|00006350| 79 65 72 50 61 77 6e 2e | 57 65 61 70 6f 6e 2e 47 |yerPawn.|Weapon.G|
|00006360| 6f 74 6f 53 74 61 74 65 | 28 27 44 6f 77 6e 57 65 |otoState|('DownWe|
|00006370| 61 70 6f 6e 27 29 3b 0d | 0a 09 09 50 6c 61 79 65 |apon');.|...Playe|
|00006380| 72 50 61 77 6e 2e 50 65 | 6e 64 69 6e 67 57 65 61 |rPawn.Pe|ndingWea|
|00006390| 70 6f 6e 20 3d 20 4e 6f | 6e 65 3b 0d 0a 09 09 50 |pon = No|ne;....P|
|000063a0| 6c 61 79 65 72 50 61 77 | 6e 2e 57 65 61 70 6f 6e |layerPaw|n.Weapon|
|000063b0| 20 3d 20 6e 65 77 57 65 | 61 70 6f 6e 3b 0d 0a 09 | = newWe|apon;...|
|000063c0| 7d 0d 0a 7d 0d 0a 09 0d | 0a 66 75 6e 63 74 69 6f |}..}....|.functio|
|000063d0| 6e 20 62 79 74 65 20 41 | 73 73 65 73 73 42 6f 74 |n byte A|ssessBot|
|000063e0| 41 74 74 69 74 75 64 65 | 28 42 6f 74 20 61 42 6f |Attitude|(Bot aBo|
|000063f0| 74 2c 20 50 61 77 6e 20 | 4f 74 68 65 72 29 0d 0a |t, Pawn |Other)..|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.